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

Unified Diff: chrome/common/chrome_switches.cc

Issue 150087: Create A/B test of SDCH... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
===================================================================
--- chrome/common/chrome_switches.cc (revision 19594)
+++ chrome/common/chrome_switches.cc (working copy)
@@ -473,16 +473,16 @@
// is cleaned up and playback testing completed.
const wchar_t kSimpleDataSource[] = L"simple-data-source";
-// Some field tests may be performed in the browser, and the randomly selected
-// outcome needs to be propogated to the renderer to appropriately modify the
-// histogram names that will be tested. This command line argument is only
-// parsed by the renderer, and consists of a field test name, and a forced
-// selection of an outcome. For example, if a field test "DnsImpact" has
-// selected "_disabled_prefetch" as a current test, then the render should be
-// passed the command line:
-// force-fieldtest=DnsImpact/_disabled_prefetch
-// The renderer will then force said named field test to exist, and will force
-// the selected outcome to have the indicated text value.
+// Some field tests may rendomized in the browser, and the randomly selected
+// outcome needs to be propogated to the renderer. For instance, this is used
+// to modify histograms recorded in the renderer, or to get the renderer to
+// also set of its state (initialize, or not initialize components) to match the
+// experiment(s).
+// The argument is a string-ized list of experiment names, and the associated
+// value that was randomly selected. In the recent implementetaion, the
+// persistent representation generated by field_trial.cc and later decoded, is a
+// list of name and value pairs, separated by slashes. See field trial.cc for
+// current details.
const wchar_t kForceFieldTestNameAndValue[] = L"force-fieldtest";
// Allows the new tab page resource to be loaded from a local HTML file. This
« no previous file with comments | « chrome/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698