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