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
3 // found in the LICENSE file.
5 #include "chrome/browser/extensions/api/preference/preference_api_constants.h"
8 namespace preference_api_constants
{
10 const char kIncognitoKey
[] = "incognito";
12 const char kScopeKey
[] = "scope";
14 const char kIncognitoSpecific
[] = "incognitoSpecific";
15 const char kLevelOfControl
[] = "levelOfControl";
16 const char kValue
[] = "value";
18 const char kIncognitoErrorMessage
[] =
19 "You do not have permission to access incognito preferences.";
21 const char kIncognitoSessionOnlyErrorMessage
[] =
22 "You cannot set a preference with scope 'incognito_session_only' when no "
23 "incognito window is open.";
25 const char kPermissionErrorMessage
[] =
26 "You do not have permission to access the preference '*'. "
27 "Be sure to declare in your manifest what permissions you need.";
29 } // preference_api_constants