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

Unified Diff: remoting/host/win/worker_process_launcher.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 | « remoting/host/signaling_connector.h ('k') | remoting/protocol/jingle_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/worker_process_launcher.h
diff --git a/remoting/host/win/worker_process_launcher.h b/remoting/host/win/worker_process_launcher.h
index f512a2b6eae549bc6b62f763d09d6bf425fbabe7..96bef4490103184d29894ff9fe4a9089e39e4961 100644
--- a/remoting/host/win/worker_process_launcher.h
+++ b/remoting/host/win/worker_process_launcher.h
@@ -139,7 +139,7 @@ class WorkerProcessLauncher
// The timer used to delay termination of the worker process when an IPC error
// occured or when Crash() request is pending
- base::OneShotTimer<WorkerProcessLauncher> kill_process_timer_;
+ base::OneShotTimer kill_process_timer_;
// The default timeout for |kill_process_timer_|.
base::TimeDelta kill_process_timeout_;
@@ -148,7 +148,7 @@ class WorkerProcessLauncher
net::BackoffEntry launch_backoff_;
// Timer used to schedule the next attempt to launch the process.
- base::OneShotTimer<WorkerProcessLauncher> launch_timer_;
+ base::OneShotTimer launch_timer_;
// Monitors |worker_process_| to detect when the launched process
// terminates.
@@ -156,7 +156,7 @@ class WorkerProcessLauncher
// Timer used to detect whether a launch attempt was successful or not, and to
// cancel the launch attempt if it is taking too long.
- base::OneShotTimer<WorkerProcessLauncher> launch_result_timer_;
+ base::OneShotTimer launch_result_timer_;
// The handle of the worker process, if launched.
base::win::ScopedHandle worker_process_;
« no previous file with comments | « remoting/host/signaling_connector.h ('k') | remoting/protocol/jingle_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698