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

Unified Diff: content/renderer/renderer_main.cc

Issue 700953002: Send all field trials from the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@finch4
Patch Set: Responded to comments. Created 5 years, 11 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
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_main.cc
diff --git a/content/renderer/renderer_main.cc b/content/renderer/renderer_main.cc
index 5b01d56ad6debe21641b030af0705bf93fbc53dc..6a7f4dd60c697f203335ec4a2a5431399990afd2 100644
--- a/content/renderer/renderer_main.cc
+++ b/content/renderer/renderer_main.cc
@@ -174,11 +174,9 @@ int RendererMain(const MainFunctionParams& parameters) {
base::FieldTrialList field_trial_list(NULL);
// Ensure any field trials in browser are reflected into renderer.
if (parsed_command_line.HasSwitch(switches::kForceFieldTrials)) {
- // Field trials are created in an "activated" state to ensure they get
- // reported in crash reports.
bool result = base::FieldTrialList::CreateTrialsFromString(
parsed_command_line.GetSwitchValueASCII(switches::kForceFieldTrials),
- base::FieldTrialList::ACTIVATE_TRIALS,
+ base::FieldTrialList::DONT_ACTIVATE_TRIALS,
std::set<std::string>());
DCHECK(result);
}
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698