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_CHANNEL_SOCKET_ADAPTER_H_ | 5 #ifndef REMOTING_PROTOCOL_CHANNEL_SOCKET_ADAPTER_H_ |
6 #define REMOTING_PROTOCOL_CHANNEL_SOCKET_ADAPTER_H_ | 6 #define REMOTING_PROTOCOL_CHANNEL_SOCKET_ADAPTER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
9 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
10 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
11 #include "remoting/protocol/p2p_datagram_socket.h" | 14 #include "remoting/protocol/p2p_datagram_socket.h" |
12 #include "third_party/webrtc/base/asyncpacketsocket.h" | 15 #include "third_party/webrtc/base/asyncpacketsocket.h" |
13 #include "third_party/webrtc/base/sigslot.h" | 16 #include "third_party/webrtc/base/sigslot.h" |
14 #include "third_party/webrtc/base/socketaddress.h" | 17 #include "third_party/webrtc/base/socketaddress.h" |
15 | 18 |
16 namespace cricket { | 19 namespace cricket { |
17 class TransportChannel; | 20 class TransportChannel; |
18 } // namespace cricket | 21 } // namespace cricket |
19 | 22 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 75 |
73 int closed_error_code_; | 76 int closed_error_code_; |
74 | 77 |
75 DISALLOW_COPY_AND_ASSIGN(TransportChannelSocketAdapter); | 78 DISALLOW_COPY_AND_ASSIGN(TransportChannelSocketAdapter); |
76 }; | 79 }; |
77 | 80 |
78 } // namespace protocol | 81 } // namespace protocol |
79 } // namespace remoting | 82 } // namespace remoting |
80 | 83 |
81 #endif // REMOTING_PROTOCOL_CHANNEL_SOCKET_ADAPTER_H_ | 84 #endif // REMOTING_PROTOCOL_CHANNEL_SOCKET_ADAPTER_H_ |
OLD | NEW |