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

Side by Side Diff: remoting/host/heartbeat_sender.h

Issue 1113493005: [remoting] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_HEARTBEAT_SENDER_H_ 5 #ifndef REMOTING_HOST_HEARTBEAT_SENDER_H_
6 #define REMOTING_HOST_HEARTBEAT_SENDER_H_ 6 #define REMOTING_HOST_HEARTBEAT_SENDER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/single_thread_task_runner.h"
15 #include "base/threading/thread_checker.h" 16 #include "base/threading/thread_checker.h"
16 #include "base/timer/timer.h" 17 #include "base/timer/timer.h"
17 #include "remoting/base/rsa_key_pair.h" 18 #include "remoting/base/rsa_key_pair.h"
18 #include "remoting/signaling/signal_strategy.h" 19 #include "remoting/signaling/signal_strategy.h"
19 20
20 namespace base { 21 namespace base {
21 class MessageLoopProxy; 22 class SingleThreadTaskRunner;
Sergey Ulanov 2015/04/28 17:03:22 SingleThreadTaskRunner is not used in this file, s
anujsharma 2015/05/04 12:38:21 Done.
22 class TimeDelta; 23 class TimeDelta;
23 } // namespace base 24 } // namespace base
24 25
25 namespace buzz { 26 namespace buzz {
26 class XmlElement; 27 class XmlElement;
27 } // namespace buzz 28 } // namespace buzz
28 29
29 namespace remoting { 30 namespace remoting {
30 31
31 class RsaKeyPair; 32 class RsaKeyPair;
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 base::OneShotTimer<HeartbeatSender> host_offline_reason_timeout_timer_; 174 base::OneShotTimer<HeartbeatSender> host_offline_reason_timeout_timer_;
174 175
175 base::ThreadChecker thread_checker_; 176 base::ThreadChecker thread_checker_;
176 177
177 DISALLOW_COPY_AND_ASSIGN(HeartbeatSender); 178 DISALLOW_COPY_AND_ASSIGN(HeartbeatSender);
178 }; 179 };
179 180
180 } // namespace remoting 181 } // namespace remoting
181 182
182 #endif // REMOTING_HOST_HEARTBEAT_SENDER_H_ 183 #endif // REMOTING_HOST_HEARTBEAT_SENDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698