Chromium Code Reviews| 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 #include "chrome/browser/extensions/extension_preference_api_constants.h" | |
| 6 | |
| 7 namespace extension_preference_api_constants { | |
| 8 | |
| 9 const char kIncognitoKey[] = "incognito"; | |
| 10 | |
| 11 const char kScopeKey[] = "scope"; | |
| 12 | |
| 13 const char kIncognitoErrorMessage[] = | |
| 14 "You do not have permission to access incognito preferences."; | |
| 15 | |
| 16 const char kIncognitoSessionOnlyErrorMessage[] = | |
| 17 "You cannot set a preference with scope 'incognito_session_only' when no " | |
| 18 "incognito window is open."; | |
| 19 | |
| 20 const char kPermissionErrorMessage[] = | |
| 21 "You do not have permission to access the preference '*'. " | |
| 22 "Be sure to declare in your manifest what permissions you need."; | |
| 23 | |
| 24 } | |
|
battre
2011/06/06 23:45:13
nit: // namespace extension_preference_api_constan
Bernhard Bauer
2011/06/07 13:48:13
Done.
| |
| 25 | |
| OLD | NEW |