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

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

Issue 9566007: Initial Managed Mode extension API, supporting querying the setting and a stub for enabling the mod… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Updated checkout Created 8 years, 9 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__
7 #pragma once 7 #pragma once
8 8
9 namespace extension_preference_api_constants { 9 namespace extension_preference_api_constants {
10 10
11 // Keys. 11 // Keys for incoming arguments.
12 extern const char kIncognitoKey[]; 12 extern const char kIncognitoKey[];
13 extern const char kScopeKey[]; 13 extern const char kScopeKey[];
14 14
15 // Keys for returned parameters.
16 extern const char kIncognitoSpecific[];
17 extern const char kLevelOfControl[];
18 extern const char kValue[];
19
20 // Values for levelOfControl.
21 extern const char kNotControllable[];
22 extern const char kControlledByOtherExtensions[];
23 extern const char kControllableByThisExtension[];
24 extern const char kControlledByThisExtension[];
25
15 // Errors. 26 // Errors.
16 extern const char kIncognitoErrorMessage[]; 27 extern const char kIncognitoErrorMessage[];
17 extern const char kIncognitoSessionOnlyErrorMessage[]; 28 extern const char kIncognitoSessionOnlyErrorMessage[];
18 extern const char kPermissionErrorMessage[]; 29 extern const char kPermissionErrorMessage[];
19 30
20 } 31 }
21 32
22 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__ 33 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_API_CONSTANTS_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698