diff options
author | Kristian Monsen <kristianm@google.com> | 2011-05-11 20:53:37 +0100 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2011-05-16 13:54:48 +0100 |
commit | 21d179b334e59e9a3bfcaed4c4430bef1bc5759d (patch) | |
tree | 64e2bb6da27af6a5c93ca34f6051584aafbfcb9e /chrome/common/pref_names.cc | |
parent | 0c63f00edd6ed0482fd5cbcea937ca088baf7858 (diff) | |
download | external_chromium-21d179b334e59e9a3bfcaed4c4430bef1bc5759d.zip external_chromium-21d179b334e59e9a3bfcaed4c4430bef1bc5759d.tar.gz external_chromium-21d179b334e59e9a3bfcaed4c4430bef1bc5759d.tar.bz2 |
Merge Chromium at 10.0.621.0: Initial merge by git.
Change-Id: I070cc91c608dfa4a968a5a54c173260765ac8097
Diffstat (limited to 'chrome/common/pref_names.cc')
-rw-r--r-- | chrome/common/pref_names.cc | 62 |
1 files changed, 47 insertions, 15 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index 8adb8fc..3da0b2c 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -41,7 +41,15 @@ const char kRestoreOnStartup[] = "session.restore_on_startup"; const char kURLsToRestoreOnStartup[] = "session.urls_to_restore_on_startup"; // The application locale. +// For OS_CHROMEOS we maintain kApplicationLocale property in both local state +// and user's profile. Global property determines locale of login screen, +// while user's profile determines his personal locale preference. const char kApplicationLocale[] = "intl.app_locale"; +#if defined(OS_CHROMEOS) +// Non-syncable item. Used for two-step initialization of locale in ChromeOS +// because synchronization of kApplicationLocale is not instant. +const char kApplicationLocaleBackup[] = "intl.app_locale_backup"; +#endif // The default character encoding to assume for a web page in the // absence of MIME charset specification @@ -194,18 +202,27 @@ const char kAlternateErrorPagesEnabled[] = "alternate_error_pages.enabled"; // A boolean pref set to true if DNS pre-fetching is being done in browser. const char kDnsPrefetchingEnabled[] = "dns_prefetching.enabled"; +// OBSOLETE: new pref now stored with user prefs instead of profile, as +// kDnsPrefetchingStartupList. +const char kDnsStartupPrefetchList[] = "StartupDNSPrefetchList"; + // An adaptively identified list of domain names to be pre-fetched during the // next startup, based on what was actually needed during this startup. -const char kDnsStartupPrefetchList[] = "StartupDNSPrefetchList"; +const char kDnsPrefetchingStartupList[] = "dns_prefetching.startup_list"; -// Disables the SPDY protocol. -const char kDisableSpdy[] = "spdy.disabled"; +// OBSOLETE: new pref now stored with user prefs instead of profile, as +// kDnsPrefetchingHostReferralList. +const char kDnsHostReferralList[] = "HostReferralList"; // A list of host names used to fetch web pages, and their commonly used // sub-resource hostnames (and expected latency benefits from pre-resolving, or // preconnecting to, such sub-resource hostnames). // This list is adaptively grown and pruned. -const char kDnsHostReferralList[] = "HostReferralList"; +const char kDnsPrefetchingHostReferralList[] = + "dns_prefetching.host_referral_list"; + +// Disables the SPDY protocol. +const char kDisableSpdy[] = "spdy.disabled"; // Is the cookie prompt expanded? const char kCookiePromptExpanded[] = "cookieprompt.expanded"; @@ -226,11 +243,18 @@ const char kInstantEnabledTime[] = "instant.enabled_time"; // that are used. const char kInstantPromo[] = "instant.promo"; +// Used to migrate preferences from local state to user preferences to +// enable multiple profiles. +// Holds possible values: +// 0: no preferences migrated yet. +// 1: dns prefetching preferences stored in user preferences. +const char kMultipleProfilePrefMigration[] = + "profile.multiple_profile_prefs_version"; + #if defined(USE_NSS) || defined(USE_OPENSSL) // Prefs for SSLConfigServicePref. Currently, these are only present on // and used by NSS/OpenSSL using OSes. const char kCertRevocationCheckingEnabled[] = "ssl.rev_checking.enabled"; -const char kSSL2Enabled[] = "ssl.ssl2.enabled"; const char kSSL3Enabled[] = "ssl.ssl3.enabled"; const char kTLS1Enabled[] = "ssl.tls1.enabled"; #endif @@ -443,8 +467,12 @@ const char kDeleteCache[] = "browser.clear_data.cache"; const char kDeleteCookies[] = "browser.clear_data.cookies"; const char kDeletePasswords[] = "browser.clear_data.passwords"; const char kDeleteFormData[] = "browser.clear_data.form_data"; +const char kDeleteLSOData[] = "browser.clear_data.lso_data"; const char kDeleteTimePeriod[] = "browser.clear_data.time_period"; +// Whether there is a Flash version installed that supports clearing LSO data. +const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; + // Boolean pref to define the default values for using spellchecker. const char kEnableSpellCheck[] = "browser.enable_spellchecking"; @@ -555,6 +583,11 @@ const char kBlockNonsandboxedPlugins[] = "profile.block_nonsandboxed_plugins"; // storage, etc..) should be deleted on exit. const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; +// Boolean that is true when plug-in locally stored data ("Flash cookies") +// should be deleted on exit. +const char kClearPluginLSODataOnExit[] = + "profile.clear_plugin_lso_data_on_exit"; + // Double that indicates the default zoom level. const char kDefaultZoomLevel[] = "profile.default_zoom_level"; @@ -763,11 +796,6 @@ const char kPreferencesWindowPlacement[] = "preferences.window_placement"; // renderer's in-memory cache of objects. const char kMemoryCacheSize[] = "renderer.memory_cache.size"; -// Boolean that records if chrome has set "launch on startup" property for -// itself earlier and is allowed to reset it later, reducing likelihood of -// overriding user choices. -const char kLaunchOnStartupResetAllowed[] = "launch_on_startup_reset_allowed"; - // String which specifies where to download files to by default. const char kDownloadDefaultDirectory[] = "download.default_directory"; @@ -1001,6 +1029,7 @@ const char kSyncPasswords[] = "sync.passwords"; const char kSyncPreferences[] = "sync.preferences"; const char kSyncApps[] = "sync.apps"; const char kSyncAutofill[] = "sync.autofill"; +const char kSyncAutofillProfile[] = "sync.autofill_profile"; const char kSyncThemes[] = "sync.themes"; const char kSyncTypedUrls[] = "sync.typed_urls"; const char kSyncExtensions[] = "sync.extensions"; @@ -1018,6 +1047,10 @@ const char kSyncSuppressStart[] = "sync.suppress_start"; // user settings DB to the token service. const char kSyncCredentialsMigrated[] = "sync.credentials_migrated"; +// Boolean to represent whether the legacy autofill profile data has been +// migrated to the new model. +const char kAutofillProfileMigrated[] = "sync.autofill_migrated"; + // A string that can be used to restore sync encryption infrastructure on // startup so that the user doesn't need to provide credentials on each start. const char kEncryptionBootstrapToken[] = "sync.encryption_bootstrap_token"; @@ -1102,11 +1135,10 @@ const char kCloudPrintPrintSystemSettings[] = // Used by the service process to determine if the remoting host is enabled. const char kRemotingHostEnabled[] = "remoting.host_enabled"; -// Boolean to disable proxy altogether. If true, other proxy -// preferences are ignored. -const char kNoProxyServer[] = "proxy.disabled"; -// Boolean specifying if proxy should be auto-detected. -const char kProxyAutoDetect[] = "proxy.auto_detect"; +// Integer to specify the type of proxy settings. +// See ProxyPrefs for possible values and interactions with the other proxy +// preferences. +const char kProxyMode[] = "proxy.mode"; // String specifying the proxy server. For a specification of the expected // syntax see net::ProxyConfig::ProxyRules::ParseFromString(). const char kProxyServer[] = "proxy.server"; |