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

Unified Diff: chrome/browser/ui/app_list/search/common/webservice_search_provider.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
Index: chrome/browser/ui/app_list/search/common/webservice_search_provider.h
diff --git a/chrome/browser/ui/app_list/search/common/webservice_search_provider.h b/chrome/browser/ui/app_list/search/common/webservice_search_provider.h
index 61aaf22d8a9687cd3cd19d0dd52da2e4f9842d2d..f332f6016aec5b0687fb95734c4ba01ce4be7f36 100644
--- a/chrome/browser/ui/app_list/search/common/webservice_search_provider.h
+++ b/chrome/browser/ui/app_list/search/common/webservice_search_provider.h
@@ -43,7 +43,7 @@ class WebserviceSearchProvider : public SearchProvider {
base::Time last_keytyped_;
// The timer to throttle QPS.
- base::OneShotTimer<WebserviceSearchProvider> query_throttler_;
+ base::OneShotTimer query_throttler_;
// The flag for tests. It prevents the throttling If set to false.
bool use_throttling_;

Powered by Google App Engine
This is Rietveld 408576698