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/macros.h" |
13 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.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 TimeDelta; | 22 class TimeDelta; |
22 } // namespace base | 23 } // namespace base |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 base::OneShotTimer host_offline_reason_timeout_timer_; | 173 base::OneShotTimer host_offline_reason_timeout_timer_; |
173 | 174 |
174 base::ThreadChecker thread_checker_; | 175 base::ThreadChecker thread_checker_; |
175 | 176 |
176 DISALLOW_COPY_AND_ASSIGN(HeartbeatSender); | 177 DISALLOW_COPY_AND_ASSIGN(HeartbeatSender); |
177 }; | 178 }; |
178 | 179 |
179 } // namespace remoting | 180 } // namespace remoting |
180 | 181 |
181 #endif // REMOTING_HOST_HEARTBEAT_SENDER_H_ | 182 #endif // REMOTING_HOST_HEARTBEAT_SENDER_H_ |
OLD | NEW |