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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user