| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2016 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_PC_QUICDATATRANSPORT_H_ | 11 #ifndef WEBRTC_PC_QUICDATATRANSPORT_H_ |
| 12 #define WEBRTC_PC_QUICDATATRANSPORT_H_ | 12 #define WEBRTC_PC_QUICDATATRANSPORT_H_ |
| 13 | 13 |
| 14 #include <string> | 14 #include <string> |
| 15 #include <unordered_map> | 15 #include <unordered_map> |
| 16 | 16 |
| 17 #include "webrtc/api/datachannelinterface.h" | 17 #include "webrtc/api/datachannelinterface.h" |
| 18 #include "webrtc/base/scoped_ref_ptr.h" | |
| 19 #include "webrtc/base/sigslot.h" | |
| 20 #include "webrtc/base/thread.h" | |
| 21 #include "webrtc/p2p/base/transportcontroller.h" | 18 #include "webrtc/p2p/base/transportcontroller.h" |
| 22 #include "webrtc/pc/quicdatachannel.h" | 19 #include "webrtc/pc/quicdatachannel.h" |
| 20 #include "webrtc/rtc_base/scoped_ref_ptr.h" |
| 21 #include "webrtc/rtc_base/sigslot.h" |
| 22 #include "webrtc/rtc_base/thread.h" |
| 23 | 23 |
| 24 namespace cricket { | 24 namespace cricket { |
| 25 class QuicTransportChannel; | 25 class QuicTransportChannel; |
| 26 class ReliableQuicStream; | 26 class ReliableQuicStream; |
| 27 } // namepsace cricket | 27 } // namepsace cricket |
| 28 | 28 |
| 29 namespace webrtc { | 29 namespace webrtc { |
| 30 | 30 |
| 31 // QuicDataTransport creates QuicDataChannels for the PeerConnection. It also | 31 // QuicDataTransport creates QuicDataChannels for the PeerConnection. It also |
| 32 // handles QUIC stream demuxing by distributing incoming QUIC streams from the | 32 // handles QUIC stream demuxing by distributing incoming QUIC streams from the |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 rtc::Thread* const network_thread_; | 106 rtc::Thread* const network_thread_; |
| 107 | 107 |
| 108 cricket::TransportController* transport_controller_; | 108 cricket::TransportController* transport_controller_; |
| 109 std::string content_name_; | 109 std::string content_name_; |
| 110 std::string transport_name_; | 110 std::string transport_name_; |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 } // namespace webrtc | 113 } // namespace webrtc |
| 114 | 114 |
| 115 #endif // WEBRTC_PC_QUICDATATRANSPORT_H_ | 115 #endif // WEBRTC_PC_QUICDATATRANSPORT_H_ |
| OLD | NEW |