Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Side by Side Diff: chrome/browser/extensions/extension_preference_api_constants.cc

Issue 10952021: Moving preference API into api/preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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/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 kIncognitoSpecific[] = "incognitoSpecific";
14 const char kLevelOfControl[] = "levelOfControl";
15 const char kValue[] = "value";
16
17 const char kIncognitoErrorMessage[] =
18 "You do not have permission to access incognito preferences.";
19
20 const char kIncognitoSessionOnlyErrorMessage[] =
21 "You cannot set a preference with scope 'incognito_session_only' when no "
22 "incognito window is open.";
23
24 const char kPermissionErrorMessage[] =
25 "You do not have permission to access the preference '*'. "
26 "Be sure to declare in your manifest what permissions you need.";
27
28 } // extension_preference_api_constants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698