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

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: initialized -> initialized_ 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
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_field_trial.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f179125f4be5e9d31e105b43403a4b563fb1385d 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();
+
+ // Returns whether the user should get the experimental setup or
+ // the default setup for this field trial. The experiment
+ // group uses "new scoring" (a complex multiplicative calculation
+ // that, among other differences from "old scoring", uses word
+ // break information).
+ static bool InHQPNewScoringFieldTrialExperimentGroup();
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(AutocompleteFieldTrial);
};
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698