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

Unified Diff: content/browser/service_worker/service_worker_version.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: content/browser/service_worker/service_worker_version.h
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
index 0c20444ac0f7283469253930ac99de3ff76cc249..4f83cbfc3d36815e7b1247136e92e7dfee34a8a2 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -593,10 +593,10 @@ class CONTENT_EXPORT ServiceWorkerVersion
base::WeakPtr<ServiceWorkerContextCore> context_;
base::ObserverList<Listener> listeners_;
ServiceWorkerScriptCacheMap script_cache_map_;
- base::OneShotTimer<ServiceWorkerVersion> update_timer_;
+ base::OneShotTimer update_timer_;
// Starts running in StartWorker and continues until the worker is stopped.
- base::RepeatingTimer<ServiceWorkerVersion> timeout_timer_;
+ base::RepeatingTimer timeout_timer_;
// Holds the time the worker last started being considered idle.
base::TimeTicks idle_time_;
// Holds the time that the outstanding StartWorker() request started.
« no previous file with comments | « content/browser/renderer_host/websocket_dispatcher_host.h ('k') | content/browser/tracing/background_tracing_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698