OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 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_TRANSPORTCHANNELIMPL_H_ | 11 #ifndef WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_ |
12 #define WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_ | 12 #define WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_ |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 | 15 |
16 #include "webrtc/base/constructormagic.h" | 16 #include "webrtc/base/constructormagic.h" |
| 17 #include "webrtc/p2p/base/icetransportinternal.h" |
17 #include "webrtc/p2p/base/transportchannel.h" | 18 #include "webrtc/p2p/base/transportchannel.h" |
18 | 19 |
19 namespace webrtc { | 20 namespace webrtc { |
20 class MetricsObserverInterface; | 21 class MetricsObserverInterface; |
21 } | 22 } |
22 | 23 |
23 namespace cricket { | 24 namespace cricket { |
24 | 25 |
25 class Candidate; | 26 class Candidate; |
26 | 27 |
27 // TODO(pthatcher): Remove this once it's no longer used in | |
28 // remoting/protocol/libjingle_transport_factory.cc | |
29 enum IceProtocolType { | |
30 ICEPROTO_RFC5245 // Standard RFC 5245 version of ICE. | |
31 }; | |
32 | |
33 // Base class for real implementations of TransportChannel. This includes some | 28 // Base class for real implementations of TransportChannel. This includes some |
34 // methods called only by Transport, which do not need to be exposed to the | 29 // methods called only by Transport, which do not need to be exposed to the |
35 // client. | 30 // client. |
36 class TransportChannelImpl : public TransportChannel { | 31 class TransportChannelImpl : public TransportChannel { |
37 public: | 32 public: |
38 explicit TransportChannelImpl(const std::string& transport_name, | 33 explicit TransportChannelImpl(const std::string& transport_name, |
39 int component) | 34 int component) |
40 : TransportChannel(transport_name, component) {} | 35 : TransportChannel(transport_name, component) {} |
41 | 36 |
42 // For ICE channels. | 37 // For ICE channels. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 // Emitted whenever the Dtls handshake failed on some transport channel. | 114 // Emitted whenever the Dtls handshake failed on some transport channel. |
120 sigslot::signal1<rtc::SSLHandshakeError> SignalDtlsHandshakeError; | 115 sigslot::signal1<rtc::SSLHandshakeError> SignalDtlsHandshakeError; |
121 | 116 |
122 private: | 117 private: |
123 RTC_DISALLOW_COPY_AND_ASSIGN(TransportChannelImpl); | 118 RTC_DISALLOW_COPY_AND_ASSIGN(TransportChannelImpl); |
124 }; | 119 }; |
125 | 120 |
126 } // namespace cricket | 121 } // namespace cricket |
127 | 122 |
128 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_ | 123 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_ |
OLD | NEW |