Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: chrome/browser/about_flags.cc

Issue 1124083004: Add a field trial to enable out-of-process V8 pac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comment. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 1c9ccbeec1efe3ab70c3400aa26021323ea69fad..408444039109001978277cf243206b1282724c90 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -524,6 +524,16 @@ const Experiment::Choice kSupervisedUserSafeSitesChoices[] = {
"online-check-only" }
};
+const Experiment::Choice kV8PacChoices[] = {
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
+ switches::kV8PacMojoOutOfProcess,
+ "enabled" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
+ switches::kDisableOutOfProcessPac,
+ "disabled" }
+};
+
// RECORDING USER METRICS FOR FLAGS:
// -----------------------------------------------------------------------------
// The first line of the experiment is the internal name. If you'd like to
@@ -2393,7 +2403,7 @@ const Experiment kExperiments[] = {
IDS_FLAGS_V8_PAC_MOJO_OUT_OF_PROCESS_NAME,
IDS_FLAGS_V8_PAC_MOJO_OUT_OF_PROCESS_DESCRIPTION,
kOsDesktop,
- SINGLE_VALUE_TYPE(switches::kV8PacMojoOutOfProcess),
+ MULTI_VALUE_TYPE(kV8PacChoices),
},
#if defined(OS_CHROMEOS)
{
« no previous file with comments | « no previous file | chrome/browser/net/proxy_service_factory.cc » ('j') | chrome/browser/net/proxy_service_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698