Home | History | Annotate | Download | only in preference
      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.
      4 
      5 #include "chrome/browser/extensions/api/preference/preference_api_constants.h"
      6 
      7 namespace extensions {
      8 namespace preference_api_constants {
      9 
     10 const char kIncognitoKey[] = "incognito";
     11 
     12 const char kScopeKey[] = "scope";
     13 
     14 const char kIncognitoSpecific[] = "incognitoSpecific";
     15 const char kLevelOfControl[] = "levelOfControl";
     16 const char kValue[] = "value";
     17 
     18 const char kIncognitoErrorMessage[] =
     19     "You do not have permission to access incognito preferences.";
     20 
     21 const char kIncognitoSessionOnlyErrorMessage[] =
     22     "You cannot set a preference with scope 'incognito_session_only' when no "
     23     "incognito window is open.";
     24 
     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.";
     28 
     29 }  // preference_api_constants
     30 }  // extensions
     31