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