Bug 1498586 - Add clang-format off to avoid the reformatting of the data structures r=Ehsan

Too hard/impossible for the tool to format correctly these structs

Differential Revision: https://phabricator.services.mozilla.com/D8569
This commit is contained in:
Sylvestre Ledru
2018-10-12 20:48:24 +00:00
parent f71087c330
commit cec75ca74a
55 changed files with 227 additions and 10 deletions

View File

@@ -57,15 +57,19 @@ struct MimeTypeAssociation
};
static const ProtocolAssociation appProtocols[] = {
// clang-format off
{ "http", true },
{ "https", true },
{ "ftp", false },
{ "chrome", false }
// clang-format on
};
static const MimeTypeAssociation appTypes[] = {
// clang-format off
{ "text/html", "htm html shtml" },
{ "application/xhtml+xml", "xhtml xht" }
// clang-format on
};
// GConf registry key constants