summaryrefslogtreecommitdiffstats
path: root/chrome/browser/about_flags.cc
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 12:36:34 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 12:36:34 +0000
commit503c1cfda23cf077b525ad9c21feb0d5032315f8 (patch)
tree332e59f2a68ad5cc6ab757fd75dc8d781aff274a /chrome/browser/about_flags.cc
parent2f6bfef5c422903c0a252109fd9961a2c0ff77a8 (diff)
downloadchromium_src-503c1cfda23cf077b525ad9c21feb0d5032315f8.zip
chromium_src-503c1cfda23cf077b525ad9c21feb0d5032315f8.tar.gz
chromium_src-503c1cfda23cf077b525ad9c21feb0d5032315f8.tar.bz2
Use the "DNS prefetch" button to control whether prerender is enabled/disabled.
This also removes prerender from about:flags. BUG=77783 TEST=Force prerender on [via --prerender=enabled] and toggle the checkbox on/off to dynamically adjust prerender. Review URL: http://codereview.chromium.org/6771018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79986 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/about_flags.cc')
-rw-r--r--chrome/browser/about_flags.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index d251cba..d48ae0c 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -41,14 +41,6 @@ const char kMediaPlayerExperimentName[] = "media-player";
const char kAdvancedFileSystemExperimentName[] = "advanced-file-system";
const char kVerticalTabsExperimentName[] = "vertical-tabs";
-const Experiment::Choice kPagePrerenderChoices[] = {
- { IDS_FLAGS_PAGE_PRERENDER_AUTOMATIC, "", "" },
- { IDS_FLAGS_PAGE_PRERENDER_ENABLED,
- switches::kPrerender, switches::kPrerenderSwitchValueEnabled },
- { IDS_FLAGS_PAGE_PRERENDER_DISABLED,
- switches::kPrerender, switches::kPrerenderSwitchValueDisabled },
-};
-
// RECORDING USER METRICS FOR FLAGS:
// -----------------------------------------------------------------------------
// The first line of the experiment is the internal name. If you'd like to
@@ -213,13 +205,6 @@ const Experiment kExperiments[] = {
SINGLE_VALUE_TYPE(switches::kDnsServer)
},
{
- "page-prerender", // FLAGS:RECORD_UMA
- IDS_FLAGS_PAGE_PRERENDER_NAME,
- IDS_FLAGS_PAGE_PRERENDER_DESCRIPTION,
- kOsAll,
- MULTI_VALUE_TYPE(kPagePrerenderChoices)
- },
- {
"extension-apis", // FLAGS:RECORD_UMA
IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_NAME,
IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_DESCRIPTION,