summaryrefslogtreecommitdiffstats
path: root/content/renderer
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 00:52:39 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 00:52:39 +0000
commit5557b198f9815a758cf5a27d463e077b8bbbbfd8 (patch)
tree72d192231b743092b69ba1cbb5bb4501aa324e41 /content/renderer
parentdc86fccde35745d2b1501fcc08d9aa42ea1ee1cc (diff)
downloadchromium_src-5557b198f9815a758cf5a27d463e077b8bbbbfd8.zip
chromium_src-5557b198f9815a758cf5a27d463e077b8bbbbfd8.tar.gz
chromium_src-5557b198f9815a758cf5a27d463e077b8bbbbfd8.tar.bz2
Revert 84197 - Add one-time randomization support for FieldTrial, and the ability to
disable field trials. I am going to have a need for both soon. Cleaning up some comments about empty trial names, adding static method TrialExists() and simplifying many call sites by using this method. While I'm in there and needing base/OWNERS approval, add an OWNERS file for base/metrics that adds jar@chromium.org as an owner for that directory. BUG=none TEST=base_unittests TBR=jam@chromium.org R=jar@chromium.org,phajdan.jr@chromium.org,mark@chromium.org,wtc@chromium.org Reason for revert: See http://crbug.com/81750 BUG=81750 TBR=joi@chromium.org Review URL: http://codereview.chromium.org/6931048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84373 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer')
-rw-r--r--content/renderer/renderer_main.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/content/renderer/renderer_main.cc b/content/renderer/renderer_main.cc
index 440ef77..dbb0e34 100644
--- a/content/renderer/renderer_main.cc
+++ b/content/renderer/renderer_main.cc
@@ -191,10 +191,8 @@ int RendererMain(const MainFunctionParams& parameters) {
statistics.reset(new base::StatisticsRecorder());
}
- // 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.
+ base::FieldTrialList field_trial;
// Ensure any field trials in browser are reflected into renderer.
if (parsed_command_line.HasSwitch(switches::kForceFieldTestNameAndValue)) {
std::string persistent = parsed_command_line.GetSwitchValueASCII(