Chromium Code Reviews| Index: base/metrics/field_trial.h |
| =================================================================== |
| --- base/metrics/field_trial.h (revision 208942) |
| +++ base/metrics/field_trial.h (working copy) |
| @@ -392,8 +392,10 @@ |
| // used in a non-browser process, to carry randomly selected state in a |
| // browser process into this non-browser process, but could also be invoked |
| // through a command line argument to the browser process. The created field |
| - // trials are marked as "used" for the purposes of active trial reporting. |
| - static bool CreateTrialsFromString(const std::string& prior_trials); |
| + // trials are marked as "used" for the purposes of active trial reporting if |
| + // |activate_trials| is true. |
| + static bool CreateTrialsFromString(const std::string& prior_trials, |
| + bool activate_trials); |
|
Ilya Sherman
2013/06/28 00:58:07
nit: Please define an enumerated constant for this
Alexei Svitkine (slow)
2013/06/28 17:05:15
Done.
|
| // Create a FieldTrial with the given |name| and using 100% probability for |
| // the FieldTrial, force FieldTrial to have the same group string as |