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

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

Issue 11421139: Omnibox: Create Field Trial for HQP to Ignore Mid-Word Matches (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Peter's comments. Created 8 years, 1 month 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 2d807ed92a3300a25ce78153bf78662cb1c2a60c..6f042987a5018b8a064667a143e48de9157181dc 100644
--- a/chrome/browser/autocomplete/autocomplete_field_trial.h
+++ b/chrome/browser/autocomplete/autocomplete_field_trial.h
@@ -83,6 +83,18 @@ class AutocompleteFieldTrial {
// is larger.
static bool InHQPReplaceHUPScoringFieldTrialExperimentGroup();
+ // ---------------------------------------------------------
+ // For the HistoryQuick provider only count matches at word boundaries
+ // field trial.
+
+ // Returns whether the user is in any group for this field trial.
+ // (Should always be true unless initialization went wrong.)
+ static bool InHQPOnlyCountMatchesAtWordBoundariesFieldTrial();
+
+ // Returns whether we should ignore all mid-word matches in
+ // HistoryQuick provider.
+ static bool InHQPOnlyCountMatchesAtWordBoundariesFieldTrialExperimentGroup();
+
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