summaryrefslogtreecommitdiffstats
path: root/chrome/common/pref_names.cc
diff options
context:
space:
mode:
authorIain Merrick <husky@google.com>2010-11-01 12:19:54 +0000
committerIain Merrick <husky@google.com>2010-11-03 10:21:10 +0000
commit731df977c0511bca2206b5f333555b1205ff1f43 (patch)
tree0e750b949b3f00a1ac11fda25d3c2de512f2b465 /chrome/common/pref_names.cc
parent5add15e10e7bb80512f2c597ca57221314abe577 (diff)
downloadexternal_chromium-731df977c0511bca2206b5f333555b1205ff1f43.zip
external_chromium-731df977c0511bca2206b5f333555b1205ff1f43.tar.gz
external_chromium-731df977c0511bca2206b5f333555b1205ff1f43.tar.bz2
Merge Chromium at r63472 : Initial merge by git.
Change-Id: Ifb9ee821af006a5f2211e81471be93ae440a1f5a
Diffstat (limited to 'chrome/common/pref_names.cc')
-rw-r--r--chrome/common/pref_names.cc53
1 files changed, 44 insertions, 9 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index dcaa943..27bc3b7 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -9,6 +9,13 @@ namespace prefs {
// *************** PROFILE PREFS ***************
// These are attached to the user profile
+// A counter that controls whether the apps promo is shown in the app launcher
+// or not.
+const char kAppsPromoCounter[] = "apps_promo_counter";
+
+// Whether we have installed default apps yet in this profile.
+const char kDefaultAppsInstalled[] = "default_apps_installed";
+
// A boolean specifying whether the New Tab page is the home page or not.
const char kHomePageIsNewTabPage[] = "homepage_is_newtabpage";
@@ -123,6 +130,10 @@ const char kSearchSuggestEnabled[] = "search.suggest_enabled";
// 2 - block all cookies
const char kCookieBehavior[] = "security.cookie_behavior";
+// Whether having a default search provider is enabled.
+const char kDefaultSearchProviderEnabled[] =
+ "default_search_provider.enabled";
+
// The URL (as understood by TemplateURLRef) the default search provider uses
// for searches.
const char kDefaultSearchProviderSearchURL[] =
@@ -133,6 +144,11 @@ const char kDefaultSearchProviderSearchURL[] =
const char kDefaultSearchProviderSuggestURL[] =
"default_search_provider.suggest_url";
+// The URL (as understood by TemplateURLRef) the default search provider uses
+// for instant results.
+const char kDefaultSearchProviderInstantURL[] =
+ "default_search_provider.instant_url";
+
// The Fav Icon URL (as understood by TemplateURLRef) of the default search
// provider.
const char kDefaultSearchProviderIconURL[] =
@@ -178,6 +194,9 @@ const char kDnsPrefetchingEnabled[] = "dns_prefetching.enabled";
// next startup, based on what was actually needed during this startup.
const char kDnsStartupPrefetchList[] = "StartupDNSPrefetchList";
+// Disables the SPDY protocol.
+const char kDisableSpdy[] = "spdy.disabled";
+
// 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).
@@ -187,6 +206,12 @@ const char kDnsHostReferralList[] = "HostReferralList";
// Is the cookie prompt expanded?
const char kCookiePromptExpanded[] = "cookieprompt.expanded";
+// Boolean pref indicating whether the instant confirm dialog has been shown.
+const char kInstantConfirmDialogShown[] = "instant.confirm_dialog_shown";
+
+// Boolean pref indicating if instant is enabled.
+const char kInstantEnabled[] = "instant.enabled";
+
#if defined(USE_NSS)
// Prefs for SSLConfigServicePref. Currently, these are only present on
// and used by NSS-using OSes.
@@ -376,6 +401,9 @@ const char kLabsMediaplayerEnabled[] = "settings.labs.mediaplayer";
const char kLabsTalkEnabled[] =
"extensions.settings.ggnioahjipcehijkhpdjekioddnjoben.state";
+// A boolean pref that turns on screen locker.
+const char kEnableScreenLock[] = "settings.enable_screen_lock";
+
#endif // defined(OS_CHROMEOS)
// The disabled messages in IPC logging.
@@ -412,6 +440,9 @@ const char kEnabledLabsExperiments[] = "browser.enabled_labs_experiments";
// Boolean pref to define the default values for using auto spell correct.
const char kEnableAutoSpellCorrect[] = "browser.enable_autospellcorrect";
+// Boolean controlling whether history saving is disabled.
+const char kSavingBrowserHistoryDisabled[] = "history.saving_disabled";
+
// Boolean controlling whether printing is enabled.
const char kPrintingEnabled[] = "printing.enabled";
@@ -531,6 +562,9 @@ const char kAutoFillPositiveUploadRate[] = "autofill.positive_upload_rate";
// Double that indicates negative (for not matched forms) upload rate.
const char kAutoFillNegativeUploadRate[] = "autofill.negative_upload_rate";
+// Boolean option set to true on the first run. Non-persistent.
+const char kAutoFillPersonalDataManagerFirstRun[] = "autofill.pdm.first_run";
+
// Boolean that is true when the tabstrip is to be laid out vertically down the
// side of the browser window.
const char kUseVerticalTabs[] = "tabs.use_vertical_tabs";
@@ -806,7 +840,7 @@ const char kLastPromptedGoogleURL[] = "browser.last_prompted_google_url";
// String containing the last known intranet redirect URL, if any. See
// intranet_redirect_detector.h for more information.
-const char kLastKnownIntranetRedirectOrigin[] = "";
+const char kLastKnownIntranetRedirectOrigin[] = "browser.last_redirect_origin";
// Integer containing the system Country ID the first time we checked the
// template URL prepopulate data. This is used to avoid adding a whole bunch of
@@ -854,12 +888,13 @@ const char kDisableExtensions[] = "extensions.disabled";
const char kBrowserActionContainerWidth[] =
"extensions.browseractions.container.width";
-// A whitelist of extension the user can install. This is controlled by the
-// administrator.
+// A whitelist of extension ids the user can install: exceptions from the
+// following blacklist. This is controlled by the administrator.
const char kExtensionInstallAllowList[] = "extensions.install.allowlist";
-// A blacklist, containing extensions the user cannot install. This is
-// controlled by the administrator. This list should not be confused with
-// the extension blacklist, which is Google controlled.
+// A blacklist, containing extensions the user cannot install. This list can
+// conatin "*" meaning all extensions. This is controlled by the administrator.
+// This list should not be confused with the extension blacklist, which is
+// Google controlled.
const char kExtensionInstallDenyList[] = "extensions.install.denylist";
// Time of the last, and next scheduled, extensions auto-update checks.
@@ -889,7 +924,7 @@ const char kNTPWebResourceCacheUpdate[] = "ntp.web_resource_cache_update";
const char kNTPTipsResourceServer[] = "ntp.tips_resource_server";
// Last server used to fill logo_resource_cache.
-const char kNTPLogoResourceServer[] = "ntp.logo_resource_server";
+const char kNTPLogoResourceServer[] = "ntp.alt_logo_resource_server";
// Which sections should be visible on the new tab page
// 1 - Show the most visited sites in a grid
@@ -904,8 +939,8 @@ const char kNTPPrefVersion[] = "ntp.pref_version";
// Dates between which the NTP should show a custom logo rather than the
// standard one.
-const char kNTPCustomLogoStart[] = "ntp.custom_logo_start";
-const char kNTPCustomLogoEnd[] = "ntp.custom_logo_end";
+const char kNTPCustomLogoStart[] = "ntp.alt_logo_start";
+const char kNTPCustomLogoEnd[] = "ntp.alt_logo_end";
// A boolean specifying whether dev tools window should be opened docked.
const char kDevToolsOpenDocked[] = "devtools.open_docked";