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 7namespace extensions { 8namespace preference_api_constants { 9 10const char kIncognitoKey[] = "incognito"; 11 12const char kScopeKey[] = "scope"; 13 14const char kIncognitoSpecific[] = "incognitoSpecific"; 15const char kLevelOfControl[] = "levelOfControl"; 16const char kValue[] = "value"; 17 18const char kIncognitoErrorMessage[] = 19 "You do not have permission to access incognito preferences."; 20 21const char kIncognitoSessionOnlyErrorMessage[] = 22 "You cannot set a preference with scope 'incognito_session_only' when no " 23 "incognito window is open."; 24 25const 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