OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Constants used for the Content Settings API. | |
6 | |
7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_CONSTANTS_H__ | |
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_CONSTANTS_H__ | |
9 #pragma once | |
10 | |
11 namespace extension_content_settings_api_constants { | |
12 | |
13 // Keys. | |
14 extern const char kContentSettingKey[]; | |
15 extern const char kContentSettingsTypeKey[]; | |
16 extern const char kDescriptionKey[]; | |
17 extern const char kIdKey[]; | |
18 extern const char kPatternKey[]; | |
19 extern const char kPrimaryPatternKey[]; | |
20 extern const char kPrimaryUrlKey[]; | |
21 extern const char kResourceIdentifierKey[]; | |
22 extern const char kRuleKey[]; | |
23 extern const char kSecondaryPatternKey[]; | |
24 extern const char kSecondaryUrlKey[]; | |
25 | |
26 // Errors. | |
27 extern const char kIncognitoContextError[]; | |
28 extern const char kIncognitoSessionOnlyError[]; | |
29 extern const char kInvalidUrlError[]; | |
30 | |
31 } | |
32 | |
33 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_CONSTANTS_H_
_ | |
OLD | NEW |