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_PROTOCOL_WEBRTC_CONNECTION_TO_CLIENT_H_ | 5 #ifndef REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_CLIENT_H_ |
6 #define REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_CLIENT_H_ | 6 #define REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_CLIENT_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_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 "remoting/protocol/channel_dispatcher_base.h" | 17 #include "remoting/protocol/channel_dispatcher_base.h" |
17 #include "remoting/protocol/connection_to_client.h" | 18 #include "remoting/protocol/connection_to_client.h" |
18 #include "remoting/protocol/session.h" | 19 #include "remoting/protocol/session.h" |
19 #include "remoting/protocol/webrtc_transport.h" | 20 #include "remoting/protocol/webrtc_transport.h" |
20 | 21 |
21 namespace remoting { | 22 namespace remoting { |
22 namespace protocol { | 23 namespace protocol { |
23 | 24 |
24 class HostControlDispatcher; | 25 class HostControlDispatcher; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 std::unique_ptr<HostEventDispatcher> event_dispatcher_; | 87 std::unique_ptr<HostEventDispatcher> event_dispatcher_; |
87 base::WeakPtrFactory<WebrtcConnectionToClient> weak_factory_; | 88 base::WeakPtrFactory<WebrtcConnectionToClient> weak_factory_; |
88 | 89 |
89 DISALLOW_COPY_AND_ASSIGN(WebrtcConnectionToClient); | 90 DISALLOW_COPY_AND_ASSIGN(WebrtcConnectionToClient); |
90 }; | 91 }; |
91 | 92 |
92 } // namespace protocol | 93 } // namespace protocol |
93 } // namespace remoting | 94 } // namespace remoting |
94 | 95 |
95 #endif // REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_CLIENT_H_ | 96 #endif // REMOTING_PROTOCOL_WEBRTC_CONNECTION_TO_CLIENT_H_ |
OLD | NEW |