OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2017 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2017 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_P2P_BASE_PACKETTRANSPORTINTERNAL_H_ | 11 #ifndef WEBRTC_P2P_BASE_PACKETTRANSPORTINTERNAL_H_ |
12 #define WEBRTC_P2P_BASE_PACKETTRANSPORTINTERNAL_H_ | 12 #define WEBRTC_P2P_BASE_PACKETTRANSPORTINTERNAL_H_ |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 // This is included for PacketOptions. | 17 // This is included for PacketOptions. |
18 #include "webrtc/api/ortc/packettransportinterface.h" | 18 #include "webrtc/api/ortc/packettransportinterface.h" |
19 #include "webrtc/rtc_base/asyncpacketsocket.h" | 19 #include "webrtc/base/asyncpacketsocket.h" |
20 #include "webrtc/rtc_base/sigslot.h" | 20 #include "webrtc/base/sigslot.h" |
21 #include "webrtc/rtc_base/socket.h" | 21 #include "webrtc/base/socket.h" |
22 | 22 |
23 namespace cricket { | 23 namespace cricket { |
24 class TransportChannel; | 24 class TransportChannel; |
25 } | 25 } |
26 | 26 |
27 namespace rtc { | 27 namespace rtc { |
28 struct PacketOptions; | 28 struct PacketOptions; |
29 struct PacketTime; | 29 struct PacketTime; |
30 struct SentPacket; | 30 struct SentPacket; |
31 | 31 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 sigslot::signal2<PacketTransportInternal*, const rtc::SentPacket&> | 91 sigslot::signal2<PacketTransportInternal*, const rtc::SentPacket&> |
92 SignalSentPacket; | 92 SignalSentPacket; |
93 | 93 |
94 protected: | 94 protected: |
95 PacketTransportInternal* GetInternal() override { return this; } | 95 PacketTransportInternal* GetInternal() override { return this; } |
96 }; | 96 }; |
97 | 97 |
98 } // namespace rtc | 98 } // namespace rtc |
99 | 99 |
100 #endif // WEBRTC_P2P_BASE_PACKETTRANSPORTINTERNAL_H_ | 100 #endif // WEBRTC_P2P_BASE_PACKETTRANSPORTINTERNAL_H_ |
OLD | NEW |