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

Side by Side Diff: chrome/common/pref_names.cc

Issue 10542048: Add a group policy controlling which sites can install extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 6 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/functional/policy_test_cases.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 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 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 const char kDisableExtensions[] = "extensions.disabled"; 1349 const char kDisableExtensions[] = "extensions.disabled";
1350 1350
1351 // Whether the plugin finder that lets you install missing plug-ins is enabled. 1351 // Whether the plugin finder that lets you install missing plug-ins is enabled.
1352 const char kDisablePluginFinder[] = "plugins.disable_plugin_finder"; 1352 const char kDisablePluginFinder[] = "plugins.disable_plugin_finder";
1353 1353
1354 // Integer boolean representing the width (in pixels) of the container for 1354 // Integer boolean representing the width (in pixels) of the container for
1355 // browser actions. 1355 // browser actions.
1356 const char kBrowserActionContainerWidth[] = 1356 const char kBrowserActionContainerWidth[] =
1357 "extensions.browseractions.container.width"; 1357 "extensions.browseractions.container.width";
1358 1358
1359 // The sites that are allowed to install extensions. These sites should be
1360 // allowed to install extensions without the scary dangerous downloads bar.
1361 // Also, when off-store-extension installs are disabled, these sites are exempt.
1362 const char kExtensionAllowedInstallSites[] = "extensions.allowed_install_sites";
1363
1359 // A whitelist of extension ids the user can install: exceptions from the 1364 // A whitelist of extension ids the user can install: exceptions from the
1360 // following blacklist. This is controlled by the administrator. 1365 // following blacklist.
1361 const char kExtensionInstallAllowList[] = "extensions.install.allowlist"; 1366 const char kExtensionInstallAllowList[] = "extensions.install.allowlist";
1367
1362 // A blacklist, containing extensions the user cannot install. This list can 1368 // A blacklist, containing extensions the user cannot install. This list can
1363 // conatin "*" meaning all extensions. This is controlled by the administrator. 1369 // contain "*" meaning all extensions. This list should not be confused with the
1364 // This list should not be confused with the extension blacklist, which is 1370 // extension blacklist, which is Google controlled.
1365 // Google controlled.
1366 const char kExtensionInstallDenyList[] = "extensions.install.denylist"; 1371 const char kExtensionInstallDenyList[] = "extensions.install.denylist";
1367 1372
1368 // Whether we have run the extension-alert system (see ExtensionGlobalError) 1373 // Whether we have run the extension-alert system (see ExtensionGlobalError)
1369 // at least once for this profile. 1374 // at least once for this profile.
1370 const char kExtensionAlertsInitializedPref[] = "extensions.alerts.initialized"; 1375 const char kExtensionAlertsInitializedPref[] = "extensions.alerts.initialized";
1371 1376
1372 // A list containing extensions that Chrome will silently install 1377 // A list containing extensions that Chrome will silently install
1373 // at startup time. It is a list of strings, each string contains 1378 // at startup time. It is a list of strings, each string contains
1374 // an extension ID and an update URL, delimited by a semicolon. 1379 // an extension ID and an update URL, delimited by a semicolon.
1375 // This preference is set by an admin policy, and meant to be only 1380 // This preference is set by an admin policy, and meant to be only
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
1927 const char kInManagedMode[] = "managed_mode"; 1932 const char kInManagedMode[] = "managed_mode";
1928 1933
1929 // Counts how many more times the 'profile on a network share' warning should be 1934 // Counts how many more times the 'profile on a network share' warning should be
1930 // shown to the user before the next silence period. 1935 // shown to the user before the next silence period.
1931 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 1936 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
1932 // Tracks the time of the last shown warning. Used to reset 1937 // Tracks the time of the last shown warning. Used to reset
1933 // |network_profile.warnings_left| after a silence period. 1938 // |network_profile.warnings_left| after a silence period.
1934 const char kNetworkProfileLastWarningTime[] = 1939 const char kNetworkProfileLastWarningTime[] =
1935 "network_profile.last_warning_time"; 1940 "network_profile.last_warning_time";
1936 } // namespace prefs 1941 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/functional/policy_test_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698