OLD | NEW |
---|---|
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 1322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1333 const char kDisableExtensions[] = "extensions.disabled"; | 1333 const char kDisableExtensions[] = "extensions.disabled"; |
1334 | 1334 |
1335 // Whether the plugin finder that lets you install missing plug-ins is enabled. | 1335 // Whether the plugin finder that lets you install missing plug-ins is enabled. |
1336 const char kDisablePluginFinder[] = "plugins.disable_plugin_finder"; | 1336 const char kDisablePluginFinder[] = "plugins.disable_plugin_finder"; |
1337 | 1337 |
1338 // Integer boolean representing the width (in pixels) of the container for | 1338 // Integer boolean representing the width (in pixels) of the container for |
1339 // browser actions. | 1339 // browser actions. |
1340 const char kBrowserActionContainerWidth[] = | 1340 const char kBrowserActionContainerWidth[] = |
1341 "extensions.browseractions.container.width"; | 1341 "extensions.browseractions.container.width"; |
1342 | 1342 |
1343 // The sites that are allowed to install extensions. These sites should be | |
1344 // allowed to install extensions without the scary dangerous downloads bar. | |
1345 // Also, when off-store-extension installs are disabled, these sites are exempt. | |
Yoyo Zhou
2012/06/07 19:19:15
Should this say "this is controlled by the adminis
Aaron Boodman
2012/06/07 22:37:11
The ones below aren't strictly true. I mean anyone
| |
1346 const char kExtensionAllowedInstallSites[] = "extensions.allowed_install_sites"; | |
1347 | |
1343 // A whitelist of extension ids the user can install: exceptions from the | 1348 // A whitelist of extension ids the user can install: exceptions from the |
1344 // following blacklist. This is controlled by the administrator. | 1349 // following blacklist. This is controlled by the administrator. |
1345 const char kExtensionInstallAllowList[] = "extensions.install.allowlist"; | 1350 const char kExtensionInstallAllowList[] = "extensions.install.allowlist"; |
1351 | |
1346 // A blacklist, containing extensions the user cannot install. This list can | 1352 // A blacklist, containing extensions the user cannot install. This list can |
1347 // conatin "*" meaning all extensions. This is controlled by the administrator. | 1353 // conatin "*" meaning all extensions. This is controlled by the administrator. |
1348 // This list should not be confused with the extension blacklist, which is | 1354 // This list should not be confused with the extension blacklist, which is |
1349 // Google controlled. | 1355 // Google controlled. |
1350 const char kExtensionInstallDenyList[] = "extensions.install.denylist"; | 1356 const char kExtensionInstallDenyList[] = "extensions.install.denylist"; |
1351 | 1357 |
1352 // Whether we have run the extension-alert system (see ExtensionGlobalError) | 1358 // Whether we have run the extension-alert system (see ExtensionGlobalError) |
1353 // at least once for this profile. | 1359 // at least once for this profile. |
1354 const char kExtensionAlertsInitializedPref[] = "extensions.alerts.initialized"; | 1360 const char kExtensionAlertsInitializedPref[] = "extensions.alerts.initialized"; |
1355 | 1361 |
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1911 const char kInManagedMode[] = "managed_mode"; | 1917 const char kInManagedMode[] = "managed_mode"; |
1912 | 1918 |
1913 // Counts how many more times the 'profile on a network share' warning should be | 1919 // Counts how many more times the 'profile on a network share' warning should be |
1914 // shown to the user before the next silence period. | 1920 // shown to the user before the next silence period. |
1915 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; | 1921 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; |
1916 // Tracks the time of the last shown warning. Used to reset | 1922 // Tracks the time of the last shown warning. Used to reset |
1917 // |network_profile.warnings_left| after a silence period. | 1923 // |network_profile.warnings_left| after a silence period. |
1918 const char kNetworkProfileLastWarningTime[] = | 1924 const char kNetworkProfileLastWarningTime[] = |
1919 "network_profile.last_warning_time"; | 1925 "network_profile.last_warning_time"; |
1920 } // namespace prefs | 1926 } // namespace prefs |
OLD | NEW |