| 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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_PREFERENCE_PREFERENCE_API_CONSTANTS_H__ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__ | 6 #define CHROME_BROWSER_EXTENSIONS_API_PREFERENCE_PREFERENCE_API_CONSTANTS_H__ |
| 7 | 7 |
| 8 namespace extension_preference_api_constants { | 8 namespace extensions { |
| 9 namespace preference_api_constants { |
| 9 | 10 |
| 10 // Keys for incoming arguments. | 11 // Keys for incoming arguments. |
| 11 extern const char kIncognitoKey[]; | 12 extern const char kIncognitoKey[]; |
| 12 extern const char kScopeKey[]; | 13 extern const char kScopeKey[]; |
| 13 | 14 |
| 14 // Keys for returned parameters. | 15 // Keys for returned parameters. |
| 15 extern const char kIncognitoSpecific[]; | 16 extern const char kIncognitoSpecific[]; |
| 16 extern const char kLevelOfControl[]; | 17 extern const char kLevelOfControl[]; |
| 17 extern const char kValue[]; | 18 extern const char kValue[]; |
| 18 | 19 |
| 19 // Errors. | 20 // Errors. |
| 20 extern const char kIncognitoErrorMessage[]; | 21 extern const char kIncognitoErrorMessage[]; |
| 21 extern const char kIncognitoSessionOnlyErrorMessage[]; | 22 extern const char kIncognitoSessionOnlyErrorMessage[]; |
| 22 extern const char kPermissionErrorMessage[]; | 23 extern const char kPermissionErrorMessage[]; |
| 23 | 24 |
| 24 } | 25 } // namespace preference_api_constants |
| 26 } // namespace extensions |
| 25 | 27 |
| 26 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__ | 28 #endif // CHROME_BROWSER_EXTENSIONS_API_PREFERENCE_PREFERENCE_API_CONSTANTS_H__ |
| OLD | NEW |