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 #include "chrome/browser/extensions/extension_preference_api_constants.h" | 5 #include "chrome/browser/extensions/extension_preference_api_constants.h" |
6 | 6 |
7 namespace extension_preference_api_constants { | 7 namespace extension_preference_api_constants { |
8 | 8 |
9 const char kIncognitoKey[] = "incognito"; | 9 const char kIncognitoKey[] = "incognito"; |
10 | 10 |
11 const char kScopeKey[] = "scope"; | 11 const char kScopeKey[] = "scope"; |
12 | 12 |
13 const char kNotControllable[] = "not_controllable"; | |
14 const char kControlledByOtherExtensions[] = "controlled_by_other_extensions"; | |
15 const char kControllableByThisExtension[] = "controllable_by_this_extension"; | |
16 const char kControlledByThisExtension[] = "controlled_by_this_extension"; | |
17 | |
18 const char kIncognitoSpecific[] = "incognitoSpecific"; | 13 const char kIncognitoSpecific[] = "incognitoSpecific"; |
19 const char kLevelOfControl[] = "levelOfControl"; | 14 const char kLevelOfControl[] = "levelOfControl"; |
20 const char kValue[] = "value"; | 15 const char kValue[] = "value"; |
21 | 16 |
22 const char kIncognitoErrorMessage[] = | 17 const char kIncognitoErrorMessage[] = |
23 "You do not have permission to access incognito preferences."; | 18 "You do not have permission to access incognito preferences."; |
24 | 19 |
25 const char kIncognitoSessionOnlyErrorMessage[] = | 20 const char kIncognitoSessionOnlyErrorMessage[] = |
26 "You cannot set a preference with scope 'incognito_session_only' when no " | 21 "You cannot set a preference with scope 'incognito_session_only' when no " |
27 "incognito window is open."; | 22 "incognito window is open."; |
28 | 23 |
29 const char kPermissionErrorMessage[] = | 24 const char kPermissionErrorMessage[] = |
30 "You do not have permission to access the preference '*'. " | 25 "You do not have permission to access the preference '*'. " |
31 "Be sure to declare in your manifest what permissions you need."; | 26 "Be sure to declare in your manifest what permissions you need."; |
32 | 27 |
33 } // extension_preference_api_constants | 28 } // extension_preference_api_constants |
34 | |
OLD | NEW |