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

Side by Side Diff: extensions/browser/pref_names.h

Issue 559603002: Add new ExtensionManagement preference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes addressing #11 Created 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 EXTENSIONS_BROWSER_PREF_NAMES_H_ 5 #ifndef EXTENSIONS_BROWSER_PREF_NAMES_H_
6 #define EXTENSIONS_BROWSER_PREF_NAMES_H_ 6 #define EXTENSIONS_BROWSER_PREF_NAMES_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "extensions/browser/extension_prefs_scope.h" 10 #include "extensions/browser/extension_prefs_scope.h"
(...skipping 29 matching lines...) Expand all
40 extern const char kAppFullscreenAllowed[]; 40 extern const char kAppFullscreenAllowed[];
41 41
42 // Integer which specifies the launch type that bookmark apps are created with 42 // Integer which specifies the launch type that bookmark apps are created with
43 // by default. 43 // by default.
44 extern const char kBookmarkAppCreationLaunchType[]; 44 extern const char kBookmarkAppCreationLaunchType[];
45 45
46 // Dictionary pref that keeps track of per-extension settings. The keys are 46 // Dictionary pref that keeps track of per-extension settings. The keys are
47 // extension ids. 47 // extension ids.
48 extern const char kExtensions[]; 48 extern const char kExtensions[];
49 49
50 // Dictionary pref that manages extensions, controlled by policy.
51 // Values are expected to conform to the schema of the ExtensionManagement
scheib 2014/09/19 16:22:13 Where is that schema defined?
binjin 2014/09/22 13:53:54 It will be part of the following CL, defined in po
52 // policy.
53 extern const char kExtensionManagement[];
54
50 // A whitelist of extension ids the user can install: exceptions from the 55 // A whitelist of extension ids the user can install: exceptions from the
51 // following blacklist. 56 // following blacklist.
52 extern const char kInstallAllowList[]; 57 extern const char kInstallAllowList[];
53 58
54 // A blacklist, containing extensions the user cannot install. This list can 59 // A blacklist, containing extensions the user cannot install. This list can
55 // contain "*" meaning all extensions. This list should not be confused with the 60 // contain "*" meaning all extensions. This list should not be confused with the
56 // extension blacklist, which is Google controlled. 61 // extension blacklist, which is Google controlled.
57 extern const char kInstallDenyList[]; 62 extern const char kInstallDenyList[];
58 63
59 // A list containing extensions that Chrome will silently install 64 // A list containing extensions that Chrome will silently install
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // Extension-set content settings. 111 // Extension-set content settings.
107 extern const char kPrefContentSettings[]; 112 extern const char kPrefContentSettings[];
108 113
109 // Extension-set incognito content settings. 114 // Extension-set incognito content settings.
110 extern const char kPrefIncognitoContentSettings[]; 115 extern const char kPrefIncognitoContentSettings[];
111 116
112 } // namespace pref_names 117 } // namespace pref_names
113 } // namespace extensions 118 } // namespace extensions
114 119
115 #endif // EXTENSIONS_BROWSER_PREF_NAMES_H_ 120 #endif // EXTENSIONS_BROWSER_PREF_NAMES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698