OLD | NEW |
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/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
16 #include "base/timer/timer.h" | 16 #include "base/timer/timer.h" |
17 #include "remoting/base/rsa_key_pair.h" | 17 #include "remoting/base/rsa_key_pair.h" |
18 #include "remoting/signaling/signal_strategy.h" | 18 #include "remoting/signaling/signal_strategy.h" |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class MessageLoopProxy; | |
22 class TimeDelta; | 21 class TimeDelta; |
23 } // namespace base | 22 } // namespace base |
24 | 23 |
25 namespace buzz { | 24 namespace buzz { |
26 class XmlElement; | 25 class XmlElement; |
27 } // namespace buzz | 26 } // namespace buzz |
28 | 27 |
29 namespace remoting { | 28 namespace remoting { |
30 | 29 |
31 class RsaKeyPair; | 30 class RsaKeyPair; |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 base::OneShotTimer<HeartbeatSender> host_offline_reason_timeout_timer_; | 172 base::OneShotTimer<HeartbeatSender> host_offline_reason_timeout_timer_; |
174 | 173 |
175 base::ThreadChecker thread_checker_; | 174 base::ThreadChecker thread_checker_; |
176 | 175 |
177 DISALLOW_COPY_AND_ASSIGN(HeartbeatSender); | 176 DISALLOW_COPY_AND_ASSIGN(HeartbeatSender); |
178 }; | 177 }; |
179 | 178 |
180 } // namespace remoting | 179 } // namespace remoting |
181 | 180 |
182 #endif // REMOTING_HOST_HEARTBEAT_SENDER_H_ | 181 #endif // REMOTING_HOST_HEARTBEAT_SENDER_H_ |
OLD | NEW |