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

Unified Diff: content/renderer/renderer_main.cc

Issue 10830318: Use a different algorithm with the low entropy source for field trials. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | « chrome_frame/test/run_all_unittests.cc ('k') | third_party/mt19937ar/LICENSE » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_main.cc
===================================================================
--- content/renderer/renderer_main.cc (revision 152812)
+++ content/renderer/renderer_main.cc (working copy)
@@ -185,10 +185,10 @@
// Initialize histogram statistics gathering system.
base::StatisticsRecorder::Initialize();
- // Initialize statistical testing infrastructure. We set client_id to the
- // empty string to disallow the renderer process from creating its own
- // one-time randomized trials; they should be created in the browser process.
- base::FieldTrialList field_trial(EmptyString());
+ // Initialize statistical testing infrastructure. We set the entropy provider
+ // to NULL to disallow the renderer process from creating its own one-time
+ // randomized trials; they should be created in the browser process.
+ base::FieldTrialList field_trial_list(NULL);
// Ensure any field trials in browser are reflected into renderer.
if (parsed_command_line.HasSwitch(switches::kForceFieldTrials)) {
std::string persistent = parsed_command_line.GetSwitchValueASCII(
« no previous file with comments | « chrome_frame/test/run_all_unittests.cc ('k') | third_party/mt19937ar/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698