OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_GCD_STATE_UPDATER_H_ | 5 #ifndef REMOTING_HOST_GCD_STATE_UPDATER_H_ |
6 #define REMOTING_HOST_GCD_STATE_UPDATER_H_ | 6 #define REMOTING_HOST_GCD_STATE_UPDATER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
13 #include "remoting/host/backoff_timer.h" | 14 #include "remoting/host/backoff_timer.h" |
14 #include "remoting/host/gcd_rest_client.h" | 15 #include "remoting/host/gcd_rest_client.h" |
15 #include "remoting/signaling/signal_strategy.h" | 16 #include "remoting/signaling/signal_strategy.h" |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 class TimeDelta; | 19 class TimeDelta; |
19 } // namespace base | 20 } // namespace base |
20 | 21 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 BackoffTimer timer_; | 61 BackoffTimer timer_; |
61 base::ThreadChecker thread_checker_; | 62 base::ThreadChecker thread_checker_; |
62 std::string pending_request_jid_; | 63 std::string pending_request_jid_; |
63 | 64 |
64 DISALLOW_COPY_AND_ASSIGN(GcdStateUpdater); | 65 DISALLOW_COPY_AND_ASSIGN(GcdStateUpdater); |
65 }; | 66 }; |
66 | 67 |
67 } // namespace remoting | 68 } // namespace remoting |
68 | 69 |
69 #endif // REMOTING_HOST_GCD_STATE_UPDATER_H_ | 70 #endif // REMOTING_HOST_GCD_STATE_UPDATER_H_ |
OLD | NEW |