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_QUICDATACHANNEL_H_ | 11 #ifndef WEBRTC_PC_QUICDATACHANNEL_H_ |
12 #define WEBRTC_PC_QUICDATACHANNEL_H_ | 12 #define WEBRTC_PC_QUICDATACHANNEL_H_ |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 #include <unordered_map> | 15 #include <unordered_map> |
16 #include <unordered_set> | 16 #include <unordered_set> |
17 | 17 |
18 #include "webrtc/api/datachannelinterface.h" | 18 #include "webrtc/api/datachannelinterface.h" |
19 #include "webrtc/rtc_base/asyncinvoker.h" | 19 #include "webrtc/base/asyncinvoker.h" |
20 #include "webrtc/rtc_base/sigslot.h" | 20 #include "webrtc/base/sigslot.h" |
21 #include "webrtc/rtc_base/thread.h" | 21 #include "webrtc/base/thread.h" |
22 | 22 |
23 namespace cricket { | 23 namespace cricket { |
24 class QuicTransportChannel; | 24 class QuicTransportChannel; |
25 class ReliableQuicStream; | 25 class ReliableQuicStream; |
26 class TransportChannel; | 26 class TransportChannel; |
27 } // namepsace cricket | 27 } // namepsace cricket |
28 | 28 |
29 namespace net { | 29 namespace net { |
30 // TODO(mikescarlett): Make this uint64_t once QUIC uses 64-bit ids. | 30 // TODO(mikescarlett): Make this uint64_t once QUIC uses 64-bit ids. |
31 typedef uint32_t QuicStreamId; | 31 typedef uint32_t QuicStreamId; |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 uint64_t next_message_id_; | 211 uint64_t next_message_id_; |
212 | 212 |
213 // Variables for application use. | 213 // Variables for application use. |
214 const std::string& label_; | 214 const std::string& label_; |
215 const std::string& protocol_; | 215 const std::string& protocol_; |
216 }; | 216 }; |
217 | 217 |
218 } // namespace webrtc | 218 } // namespace webrtc |
219 | 219 |
220 #endif // WEBRTC_PC_QUICDATACHANNEL_H_ | 220 #endif // WEBRTC_PC_QUICDATACHANNEL_H_ |
OLD | NEW |