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

Unified Diff: components/omnibox/browser/autocomplete_controller.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 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 | « components/metrics/metrics_reporting_scheduler.h ('k') | components/omnibox/browser/search_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/browser/autocomplete_controller.h
diff --git a/components/omnibox/browser/autocomplete_controller.h b/components/omnibox/browser/autocomplete_controller.h
index bcdfc1802a0e91b2826bf91891b93c754769ba1b..b585cec5af7f2011d66c56887d40ce231c74e41d 100644
--- a/components/omnibox/browser/autocomplete_controller.h
+++ b/components/omnibox/browser/autocomplete_controller.h
@@ -232,10 +232,10 @@ class AutocompleteController : public AutocompleteProviderListener {
// Timer used to remove any matches copied from the last result. When run
// invokes |ExpireCopiedEntries|.
- base::OneShotTimer<AutocompleteController> expire_timer_;
+ base::OneShotTimer expire_timer_;
// Timer used to tell the providers to Stop() searching for matches.
- base::OneShotTimer<AutocompleteController> stop_timer_;
+ base::OneShotTimer stop_timer_;
// Amount of time (in ms) between when the user stops typing and
// when we send Stop() to every provider. This is intended to avoid
« no previous file with comments | « components/metrics/metrics_reporting_scheduler.h ('k') | components/omnibox/browser/search_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698