| OLD | NEW | 
|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1181 | 1181 | 
| 1182 // A whitelist of extension ids the user can install: exceptions from the | 1182 // A whitelist of extension ids the user can install: exceptions from the | 
| 1183 // following blacklist. This is controlled by the administrator. | 1183 // following blacklist. This is controlled by the administrator. | 
| 1184 const char kExtensionInstallAllowList[] = "extensions.install.allowlist"; | 1184 const char kExtensionInstallAllowList[] = "extensions.install.allowlist"; | 
| 1185 // A blacklist, containing extensions the user cannot install. This list can | 1185 // A blacklist, containing extensions the user cannot install. This list can | 
| 1186 // conatin "*" meaning all extensions. This is controlled by the administrator. | 1186 // conatin "*" meaning all extensions. This is controlled by the administrator. | 
| 1187 // This list should not be confused with the extension blacklist, which is | 1187 // This list should not be confused with the extension blacklist, which is | 
| 1188 // Google controlled. | 1188 // Google controlled. | 
| 1189 const char kExtensionInstallDenyList[] = "extensions.install.denylist"; | 1189 const char kExtensionInstallDenyList[] = "extensions.install.denylist"; | 
| 1190 | 1190 | 
|  | 1191 // Whether we have run the extension-alert system (see ExtensionGlobalError) | 
|  | 1192 // at least once for this profile. | 
|  | 1193 const char kExtensionAlertsInitializedPref[] = "extensions.alerts.initialized"; | 
|  | 1194 | 
| 1191 // A list containing extensions that Chrome will silently install | 1195 // A list containing extensions that Chrome will silently install | 
| 1192 // at startup time. It is a list of strings, each string contains | 1196 // at startup time. It is a list of strings, each string contains | 
| 1193 // an extension ID and an update URL, delimited by a semicolon. | 1197 // an extension ID and an update URL, delimited by a semicolon. | 
| 1194 // This preference is set by an admin policy, and meant to be only | 1198 // This preference is set by an admin policy, and meant to be only | 
| 1195 // accessed through ExternalPolicyExtensionProvider. | 1199 // accessed through ExternalPolicyExtensionProvider. | 
| 1196 const char kExtensionInstallForceList[] = "extensions.install.forcelist"; | 1200 const char kExtensionInstallForceList[] = "extensions.install.forcelist"; | 
| 1197 | 1201 | 
| 1198 // Time of the last, and next scheduled, extensions auto-update checks. | 1202 // Time of the last, and next scheduled, extensions auto-update checks. | 
| 1199 const char kLastExtensionsUpdateCheck[] = "extensions.autoupdate.last_check"; | 1203 const char kLastExtensionsUpdateCheck[] = "extensions.autoupdate.last_check"; | 
| 1200 const char kNextExtensionsUpdateCheck[] = "extensions.autoupdate.next_check"; | 1204 const char kNextExtensionsUpdateCheck[] = "extensions.autoupdate.next_check"; | 
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1583 // specified. | 1587 // specified. | 
| 1584 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1588 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 
| 1585 | 1589 | 
| 1586 // Integers that specify the policy refresh rate for device- and user-policy in | 1590 // Integers that specify the policy refresh rate for device- and user-policy in | 
| 1587 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1591 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 
| 1588 // by the cloud policy subsystem. | 1592 // by the cloud policy subsystem. | 
| 1589 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1593 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 
| 1590 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1594 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 
| 1591 | 1595 | 
| 1592 }  // namespace prefs | 1596 }  // namespace prefs | 
| OLD | NEW | 
|---|