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

Unified Diff: chrome/browser/autocomplete/autocomplete_field_trial.h

Issue 10532149: Omnibox: Create HistoryQuickProvider new scoring field trial. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
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);
};

Powered by Google App Engine
This is Rietveld 408576698