| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2011 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_DTLSTRANSPORTCHANNEL_H_ | 11 #ifndef WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ |
| 12 #define WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ | 12 #define WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ |
| 13 | 13 |
| 14 #include <memory> | 14 #include <memory> |
| 15 #include <string> | 15 #include <string> |
| 16 #include <vector> | 16 #include <vector> |
| 17 | 17 |
| 18 #include "webrtc/base/buffer.h" | |
| 19 #include "webrtc/base/bufferqueue.h" | |
| 20 #include "webrtc/base/constructormagic.h" | |
| 21 #include "webrtc/base/sslstreamadapter.h" | |
| 22 #include "webrtc/base/stream.h" | |
| 23 #include "webrtc/p2p/base/dtlstransportinternal.h" | 18 #include "webrtc/p2p/base/dtlstransportinternal.h" |
| 24 #include "webrtc/p2p/base/icetransportinternal.h" | 19 #include "webrtc/p2p/base/icetransportinternal.h" |
| 20 #include "webrtc/rtc_base/buffer.h" |
| 21 #include "webrtc/rtc_base/bufferqueue.h" |
| 22 #include "webrtc/rtc_base/constructormagic.h" |
| 23 #include "webrtc/rtc_base/sslstreamadapter.h" |
| 24 #include "webrtc/rtc_base/stream.h" |
| 25 | 25 |
| 26 namespace rtc { | 26 namespace rtc { |
| 27 class PacketTransportInternal; | 27 class PacketTransportInternal; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace cricket { | 30 namespace cricket { |
| 31 | 31 |
| 32 // A bridge between a packet-oriented/transport-type interface on | 32 // A bridge between a packet-oriented/transport-type interface on |
| 33 // the bottom and a StreamInterface on the top. | 33 // the bottom and a StreamInterface on the top. |
| 34 class StreamInterfaceChannel : public rtc::StreamInterface { | 34 class StreamInterfaceChannel : public rtc::StreamInterface { |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 | 233 |
| 234 bool receiving_ = false; | 234 bool receiving_ = false; |
| 235 bool writable_ = false; | 235 bool writable_ = false; |
| 236 | 236 |
| 237 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransport); | 237 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransport); |
| 238 }; | 238 }; |
| 239 | 239 |
| 240 } // namespace cricket | 240 } // namespace cricket |
| 241 | 241 |
| 242 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ | 242 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ |
| OLD | NEW |