| 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 buzz { class XmlElement; } | 20 namespace buzz { class XmlElement; } |
| 20 | 21 |
| 21 namespace webrtc { | 22 namespace webrtc { |
| 22 class MetricsObserverInterface; | 23 class MetricsObserverInterface; |
| 23 } | 24 } |
| 24 | 25 |
| 25 namespace cricket { | 26 namespace cricket { |
| 26 | 27 |
| 27 class Candidate; | 28 class Candidate; |
| 28 | 29 |
| 29 // TODO(pthatcher): Remove this once it's no longer used in | |
| 30 // remoting/protocol/libjingle_transport_factory.cc | |
| 31 enum IceProtocolType { | |
| 32 ICEPROTO_RFC5245 // Standard RFC 5245 version of ICE. | |
| 33 }; | |
| 34 | |
| 35 // Base class for real implementations of TransportChannel. This includes some | 30 // Base class for real implementations of TransportChannel. This includes some |
| 36 // methods called only by Transport, which do not need to be exposed to the | 31 // methods called only by Transport, which do not need to be exposed to the |
| 37 // client. | 32 // client. |
| 38 class TransportChannelImpl : public TransportChannel { | 33 class TransportChannelImpl : public TransportChannel { |
| 39 public: | 34 public: |
| 40 explicit TransportChannelImpl(const std::string& transport_name, | 35 explicit TransportChannelImpl(const std::string& transport_name, |
| 41 int component) | 36 int component) |
| 42 : TransportChannel(transport_name, component) {} | 37 : TransportChannel(transport_name, component) {} |
| 43 | 38 |
| 44 // For ICE channels. | 39 // For ICE channels. |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 // Emitted whenever the Dtls handshake failed on some transport channel. | 116 // Emitted whenever the Dtls handshake failed on some transport channel. |
| 122 sigslot::signal1<rtc::SSLHandshakeError> SignalDtlsHandshakeError; | 117 sigslot::signal1<rtc::SSLHandshakeError> SignalDtlsHandshakeError; |
| 123 | 118 |
| 124 private: | 119 private: |
| 125 RTC_DISALLOW_COPY_AND_ASSIGN(TransportChannelImpl); | 120 RTC_DISALLOW_COPY_AND_ASSIGN(TransportChannelImpl); |
| 126 }; | 121 }; |
| 127 | 122 |
| 128 } // namespace cricket | 123 } // namespace cricket |
| 129 | 124 |
| 130 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_ | 125 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_ |
| OLD | NEW |