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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_OMNIBOX_OMNIBOX_FIELD_TRIAL_H_ 5 #ifndef CHROME_BROWSER_OMNIBOX_OMNIBOX_FIELD_TRIAL_H_
6 #define CHROME_BROWSER_OMNIBOX_OMNIBOX_FIELD_TRIAL_H_ 6 #define CHROME_BROWSER_OMNIBOX_OMNIBOX_FIELD_TRIAL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 static bool InHQPReplaceHUPScoringFieldTrial(); 101 static bool InHQPReplaceHUPScoringFieldTrial();
102 102
103 // Returns whether the user should get the experimental setup or the 103 // Returns whether the user should get the experimental setup or the
104 // default setup for this field trial. The experiment group 104 // default setup for this field trial. The experiment group
105 // simultaneously disables HistoryURL provider from searching the 105 // simultaneously disables HistoryURL provider from searching the
106 // URL database and directs HistoryQuick provider to calculate both 106 // URL database and directs HistoryQuick provider to calculate both
107 // HUP-style and HQP-style scores for matches, then return whichever 107 // HUP-style and HQP-style scores for matches, then return whichever
108 // is larger. 108 // is larger.
109 static bool InHQPReplaceHUPScoringFieldTrialExperimentGroup(); 109 static bool InHQPReplaceHUPScoringFieldTrialExperimentGroup();
110 110
111 // ---------------------------------------------------------
112 // For the AutocompleteController "stop timer" field trial.
113
114 // Returns whether the user should get the experimental setup or the
115 // default setup for this field trial. The experiment group uses
116 // a timer in AutocompleteController to tell the providers to stop
117 // looking for matches after too much time has passed. In other words,
118 // it tries to tell the providers to stop updating the list of suggested
119 // matches if updating the matches would probably be disruptive because
120 // they're arriving so late.
121 static bool InStopTimerFieldTrialExperimentGroup();
122
111 private: 123 private:
112 DISALLOW_IMPLICIT_CONSTRUCTORS(OmniboxFieldTrial); 124 DISALLOW_IMPLICIT_CONSTRUCTORS(OmniboxFieldTrial);
113 }; 125 };
114 126
115 #endif // CHROME_BROWSER_OMNIBOX_OMNIBOX_FIELD_TRIAL_H_ 127 #endif // CHROME_BROWSER_OMNIBOX_OMNIBOX_FIELD_TRIAL_H_
OLDNEW
« 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