Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 namespace extension_preference_api_constants { | 9 namespace extension_preference_api_constants { |
| 10 | 10 |
| 11 // Keys. | 11 // Keys. |
| 12 extern const char kIncognitoKey[]; | 12 extern const char kIncognitoKey[]; |
| 13 extern const char kScopeKey[]; | 13 extern const char kScopeKey[]; |
| 14 | 14 |
| 15 extern const char kIncognitoSpecific[]; | |
| 16 extern const char kLevelOfControl[]; | |
| 17 extern const char kValue[]; | |
|
Finnur
2012/03/05 10:45:02
Are these just regular keys like the ones above? I
| |
| 18 | |
| 19 // Values for levelOfControl. | |
| 20 extern const char kNotControllable[]; | |
|
Finnur
2012/03/05 10:45:02
This should be last in this section.
| |
| 21 extern const char kControlledByOtherExtensions[]; | |
| 22 extern const char kControllableByThisExtension[]; | |
| 23 extern const char kControlledByThisExtension[]; | |
| 24 | |
| 15 // Errors. | 25 // Errors. |
| 16 extern const char kIncognitoErrorMessage[]; | 26 extern const char kIncognitoErrorMessage[]; |
| 17 extern const char kIncognitoSessionOnlyErrorMessage[]; | 27 extern const char kIncognitoSessionOnlyErrorMessage[]; |
| 18 extern const char kPermissionErrorMessage[]; | 28 extern const char kPermissionErrorMessage[]; |
| 19 | 29 |
| 20 } | 30 } |
| 21 | 31 |
| 22 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__ | 32 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__ |
| OLD | NEW |