Chromium Code Reviews| Index: chrome/browser/autocomplete/autocomplete_controller.h |
| diff --git a/chrome/browser/autocomplete/autocomplete_controller.h b/chrome/browser/autocomplete/autocomplete_controller.h |
| index 32fabd1816d56e4efda995dfd380bf63f170a9af..8be96497a2b86cc1367cb4296e633f0f8efd952f 100644 |
| --- a/chrome/browser/autocomplete/autocomplete_controller.h |
| +++ b/chrome/browser/autocomplete/autocomplete_controller.h |
| @@ -179,9 +179,12 @@ class AutocompleteController : public AutocompleteProviderListener { |
| // Updates |done_| to be accurate with respect to current providers' statuses. |
| void CheckIfDone(); |
| - // Starts the expire timer. |
| + // Starts |expire_timer_|. |
| void StartExpireTimer(); |
| + // Starts |stop_timer_|. |
| + void StartStopTimer(); |
| + |
| AutocompleteControllerDelegate* delegate_; |
| // A list of all providers. |
| @@ -217,6 +220,13 @@ class AutocompleteController : public AutocompleteProviderListener { |
| // invokes |ExpireCopiedEntries|. |
| base::OneShotTimer<AutocompleteController> expire_timer_; |
| + // Timer used to tell the providers to Stop() searching for matches. |
| + base::OneShotTimer<AutocompleteController> stop_timer_; |
| + |
| + // True if the user is in the "stop timer" field trial. If so, the |
| + // controller uses the |stop_timer_|. |
| + bool in_stop_timer_field_trial_; |
|
Bart N.
2013/04/19 19:57:50
Make it const.
Mark P
2013/04/19 20:20:40
Done.
|
| + |
| // True if a query is not currently running. |
| bool done_; |