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

Unified Diff: extensions/browser/api/alarms/alarm_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: extensions/browser/api/alarms/alarm_manager.h
diff --git a/extensions/browser/api/alarms/alarm_manager.h b/extensions/browser/api/alarms/alarm_manager.h
index 404f764faf5cbce8bc8148c0d9cc1cf827cd9e94..6a8bc7e615bbae1dc24a545b04006aaffd76fe7e 100644
--- a/extensions/browser/api/alarms/alarm_manager.h
+++ b/extensions/browser/api/alarms/alarm_manager.h
@@ -220,7 +220,7 @@ class AlarmManager : public BrowserContextKeyedAPI,
extension_registry_observer_;
// The timer for this alarm manager.
- base::OneShotTimer<AlarmManager> timer_;
+ base::OneShotTimer timer_;
// A map of our pending alarms, per extension.
// Invariant: None of the AlarmLists are empty.
« no previous file with comments | « content/renderer/resource_fetcher_browsertest.cc ('k') | extensions/browser/api/cast_channel/cast_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698