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

Unified Diff: chrome/browser/safe_browsing/protocol_manager.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/safe_browsing/protocol_manager.h
diff --git a/chrome/browser/safe_browsing/protocol_manager.h b/chrome/browser/safe_browsing/protocol_manager.h
index 9e3907a8bc01168caba8c9264f5fb1f744ecd5a8..29af32608197a86abde17eb74353962d9d5989a0 100644
--- a/chrome/browser/safe_browsing/protocol_manager.h
+++ b/chrome/browser/safe_browsing/protocol_manager.h
@@ -321,11 +321,11 @@ class SafeBrowsingProtocolManager : public net::URLFetcherDelegate,
// For managing the next earliest time to query the SafeBrowsing servers for
// updates.
base::TimeDelta next_update_interval_;
- base::OneShotTimer<SafeBrowsingProtocolManager> update_timer_;
+ base::OneShotTimer update_timer_;
// timeout_timer_ is used to interrupt update requests which are taking
// too long.
- base::OneShotTimer<SafeBrowsingProtocolManager> timeout_timer_;
+ base::OneShotTimer timeout_timer_;
// All chunk requests that need to be made.
std::deque<ChunkUrl> chunk_request_urls_;

Powered by Google App Engine
This is Rietveld 408576698