| Index: content/common/content_switches.cc
|
| ===================================================================
|
| --- content/common/content_switches.cc (revision 81952)
|
| +++ content/common/content_switches.cc (working copy)
|
| @@ -182,6 +182,18 @@
|
| // Causes the process to run as an extension subprocess.
|
| const char kExtensionProcess[] = "extension";
|
|
|
| +// Some field tests may rendomized in the browser, and the randomly selected
|
| +// outcome needs to be propagated 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 char kForceFieldTestNameAndValue[] = "force-fieldtest";
|
| +
|
| // Extra command line options for launching the GPU process (normally used
|
| // for debugging). Use like renderer-cmd-prefix.
|
| const char kGpuLauncher[] = "gpu-launcher";
|
| @@ -302,6 +314,9 @@
|
| // Register Pepper plugins (see pepper_plugin_registry.cc for its format).
|
| const char kRegisterPepperPlugins[] = "register-pepper-plugins";
|
|
|
| +// Causes the renderer process to throw an assertion on launch.
|
| +const char kRendererAssertTest[] = "renderer-assert-test";
|
| +
|
| // On POSIX only: the contents of this flag are prepended to the renderer
|
| // command line. Useful values might be "valgrind" or "xterm -e gdb --args".
|
| const char kRendererCmdPrefix[] = "renderer-cmd-prefix";
|
| @@ -380,4 +395,10 @@
|
|
|
| // Causes the process to run as a renderer zygote.
|
| const char kZygoteProcess[] = "zygote";
|
| +
|
| +#if !defined(OFFICIAL_BUILD)
|
| +// Causes the renderer process to throw an assertion on launch.
|
| +const char kRendererCheckFalseTest[] = "renderer-check-false-test";
|
| +#endif
|
| +
|
| } // namespace switches
|
|
|