Chromium Code Reviews| Index: chrome/browser/autocomplete/autocomplete_field_trial.h |
| diff --git a/chrome/browser/autocomplete/autocomplete_field_trial.h b/chrome/browser/autocomplete/autocomplete_field_trial.h |
| index 2b6b6288c33465e158ec1391106ccfa2cfc93acd..826020863a8d3f5d825d1f53860b0ca75eade124 100644 |
| --- a/chrome/browser/autocomplete/autocomplete_field_trial.h |
| +++ b/chrome/browser/autocomplete/autocomplete_field_trial.h |
| @@ -51,6 +51,21 @@ class AutocompleteFieldTrial { |
| // to create.) |
| static int GetSuggestNumberOfGroups(); |
| + // --------------------------------------------------------- |
| + // For the History Quick Provider new scoring field trial. |
| + |
| + // Returns whether the user is in any field trial group for this |
| + // field trial. False indicates that the field trial wasn't |
| + // successfully created for some reason. |
| + static bool InHQPNewScoringFieldTrial(); |
|
Ilya Sherman
2012/06/15 01:24:58
nit: Is there any more descriptive name that we ca
Mark P
2012/06/15 12:26:12
I thought about this. The closest I got is Multip
|
| + |
| + // Returns whether the user should get the experiment setup or |
|
Ilya Sherman
2012/06/15 01:24:58
nit: "experiment" -> "experimental"?
Mark P
2012/06/15 12:26:12
Done.
|
| + // the default setup for this field trial. The experiment |
| + // group uses "new scoring" (a complex multiplicate calculation that, |
|
Ilya Sherman
2012/06/15 01:24:58
nit: Is "multiplicate" a typo or a fancy word I do
Mark P
2012/06/15 12:26:12
Typo. Fixed.
|
| + // among other differences from "old scoring", uses word break |
| + // information). |
| + static bool InHQPNewScoringFieldTrialExperimentGroup(); |
| + |
| private: |
| DISALLOW_IMPLICIT_CONSTRUCTORS(AutocompleteFieldTrial); |
| }; |