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

Unified Diff: remoting/host/heartbeat_sender.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/desktop_session_win.h ('k') | remoting/host/linux/audio_pipe_reader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/heartbeat_sender.h
diff --git a/remoting/host/heartbeat_sender.h b/remoting/host/heartbeat_sender.h
index 162a14733a5f2b767c01e9ce7c612be178960791..1541edd51e365b0171859346941f89d41d43724e 100644
--- a/remoting/host/heartbeat_sender.h
+++ b/remoting/host/heartbeat_sender.h
@@ -158,8 +158,8 @@ class HeartbeatSender : public SignalStrategy::Listener {
scoped_ptr<IqSender> iq_sender_;
scoped_ptr<IqRequest> request_;
int interval_ms_;
- base::RepeatingTimer<HeartbeatSender> timer_;
- base::OneShotTimer<HeartbeatSender> timer_resend_;
+ base::RepeatingTimer timer_;
+ base::OneShotTimer timer_resend_;
int sequence_id_;
bool sequence_id_was_set_;
int sequence_id_recent_set_num_;
@@ -169,7 +169,7 @@ class HeartbeatSender : public SignalStrategy::Listener {
// Fields to send and indicate completion of sending host-offline-reason.
std::string host_offline_reason_;
base::Callback<void(bool success)> host_offline_reason_ack_callback_;
- base::OneShotTimer<HeartbeatSender> host_offline_reason_timeout_timer_;
+ base::OneShotTimer host_offline_reason_timeout_timer_;
base::ThreadChecker thread_checker_;
« no previous file with comments | « remoting/host/desktop_session_win.h ('k') | remoting/host/linux/audio_pipe_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698