| 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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 // of web pages. | 477 // of web pages. |
| 478 // NOTE: The "dns_prefetching.enabled" value is used so that historical user | 478 // NOTE: The "dns_prefetching.enabled" value is used so that historical user |
| 479 // preferences are not lost. | 479 // preferences are not lost. |
| 480 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled"; | 480 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled"; |
| 481 | 481 |
| 482 // An integer representing the state of the default apps installation process. | 482 // An integer representing the state of the default apps installation process. |
| 483 // This value is persisted in the profile's user preferences because the process | 483 // This value is persisted in the profile's user preferences because the process |
| 484 // is async, and the user may have stopped chrome in the middle. The next time | 484 // is async, and the user may have stopped chrome in the middle. The next time |
| 485 // the profile is opened, the process will continue from where it left off. | 485 // the profile is opened, the process will continue from where it left off. |
| 486 // | 486 // |
| 487 // See possible values in external_extension_provider_impl.cc. | 487 // See possible values in external_provider_impl.cc. |
| 488 const char kDefaultAppsInstallState[] = "default_apps_install_state"; | 488 const char kDefaultAppsInstallState[] = "default_apps_install_state"; |
| 489 | 489 |
| 490 #if defined(OS_CHROMEOS) | 490 #if defined(OS_CHROMEOS) |
| 491 // An integer pref to initially mute volume if 1. | 491 // An integer pref to initially mute volume if 1. |
| 492 const char kAudioMute[] = "settings.audio.mute"; | 492 const char kAudioMute[] = "settings.audio.mute"; |
| 493 | 493 |
| 494 // TODO(derat): This is deprecated in favor of |kAudioVolumePercent|; remove it | 494 // TODO(derat): This is deprecated in favor of |kAudioVolumePercent|; remove it |
| 495 // after R20 once we've cleared old user settings: http://crbug.com/112039 | 495 // after R20 once we've cleared old user settings: http://crbug.com/112039 |
| 496 const char kAudioVolumeDb[] = "settings.audio.volume"; | 496 const char kAudioVolumeDb[] = "settings.audio.volume"; |
| 497 | 497 |
| (...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1399 const char kExtensionInstallDenyList[] = "extensions.install.denylist"; | 1399 const char kExtensionInstallDenyList[] = "extensions.install.denylist"; |
| 1400 | 1400 |
| 1401 // Whether we have run the extension-alert system (see ExtensionGlobalError) | 1401 // Whether we have run the extension-alert system (see ExtensionGlobalError) |
| 1402 // at least once for this profile. | 1402 // at least once for this profile. |
| 1403 const char kExtensionAlertsInitializedPref[] = "extensions.alerts.initialized"; | 1403 const char kExtensionAlertsInitializedPref[] = "extensions.alerts.initialized"; |
| 1404 | 1404 |
| 1405 // A list containing extensions that Chrome will silently install | 1405 // A list containing extensions that Chrome will silently install |
| 1406 // at startup time. It is a list of strings, each string contains | 1406 // at startup time. It is a list of strings, each string contains |
| 1407 // an extension ID and an update URL, delimited by a semicolon. | 1407 // an extension ID and an update URL, delimited by a semicolon. |
| 1408 // This preference is set by an admin policy, and meant to be only | 1408 // This preference is set by an admin policy, and meant to be only |
| 1409 // accessed through ExternalPolicyExtensionProvider. | 1409 // accessed through extensions::ExternalPolicyProvider. |
| 1410 const char kExtensionInstallForceList[] = "extensions.install.forcelist"; | 1410 const char kExtensionInstallForceList[] = "extensions.install.forcelist"; |
| 1411 | 1411 |
| 1412 // Time of the last, and next scheduled, extensions auto-update checks. | 1412 // Time of the last, and next scheduled, extensions auto-update checks. |
| 1413 const char kLastExtensionsUpdateCheck[] = "extensions.autoupdate.last_check"; | 1413 const char kLastExtensionsUpdateCheck[] = "extensions.autoupdate.last_check"; |
| 1414 const char kNextExtensionsUpdateCheck[] = "extensions.autoupdate.next_check"; | 1414 const char kNextExtensionsUpdateCheck[] = "extensions.autoupdate.next_check"; |
| 1415 // Version number of last blacklist check | 1415 // Version number of last blacklist check |
| 1416 const char kExtensionBlacklistUpdateVersion[] = | 1416 const char kExtensionBlacklistUpdateVersion[] = |
| 1417 "extensions.blacklistupdate.version"; | 1417 "extensions.blacklistupdate.version"; |
| 1418 | 1418 |
| 1419 // Keeps track of which sessions are collapsed in the Other Devices menu. | 1419 // Keeps track of which sessions are collapsed in the Other Devices menu. |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1987 const char kNetworkProfileLastWarningTime[] = | 1987 const char kNetworkProfileLastWarningTime[] = |
| 1988 "network_profile.last_warning_time"; | 1988 "network_profile.last_warning_time"; |
| 1989 | 1989 |
| 1990 #if defined(OS_MACOSX) | 1990 #if defined(OS_MACOSX) |
| 1991 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. | 1991 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. |
| 1992 const char kMacLeopardObsoleteInfobarLastShown[] = | 1992 const char kMacLeopardObsoleteInfobarLastShown[] = |
| 1993 "mac_105_obsolete_infobar_last_shown"; | 1993 "mac_105_obsolete_infobar_last_shown"; |
| 1994 #endif // defined(OS_MACOSX) | 1994 #endif // defined(OS_MACOSX) |
| 1995 | 1995 |
| 1996 } // namespace prefs | 1996 } // namespace prefs |
| OLD | NEW |