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

Unified Diff: chrome/browser/omnibox/omnibox_field_trial.h

Issue 14366009: Omnibox: Call Stop() on all Providers After Certain Amount of Time (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove sentence Created 7 years, 8 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/omnibox/omnibox_field_trial.h
diff --git a/chrome/browser/omnibox/omnibox_field_trial.h b/chrome/browser/omnibox/omnibox_field_trial.h
index 5783476fd13686fef9f6429f6816d3e092c1b53f..3c4df66b0c06ef0205bec0aaeed8454e61c86fc3 100644
--- a/chrome/browser/omnibox/omnibox_field_trial.h
+++ b/chrome/browser/omnibox/omnibox_field_trial.h
@@ -108,6 +108,18 @@ class OmniboxFieldTrial {
// is larger.
static bool InHQPReplaceHUPScoringFieldTrialExperimentGroup();
+ // ---------------------------------------------------------
+ // For the AutocompleteController "stop timer" field trial.
+
+ // Returns whether the user should get the experimental setup or the
+ // default setup for this field trial. The experiment group uses
+ // a timer in AutocompleteController to tell the providers to stop
+ // looking for matches after too much time has passed. In other words,
+ // it tries to tell the providers to stop updating the list of suggested
+ // matches if updating the matches would probably be disruptive because
+ // they're arriving so late.
+ static bool InStopTimerFieldTrialExperimentGroup();
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(OmniboxFieldTrial);
};
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_controller.cc ('k') | chrome/browser/omnibox/omnibox_field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698