| 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_P2P_QUIC_RELIABLEQUICSTREAM_H_ | 11 #ifndef WEBRTC_P2P_QUIC_RELIABLEQUICSTREAM_H_ |
| 12 #define WEBRTC_P2P_QUIC_RELIABLEQUICSTREAM_H_ | 12 #define WEBRTC_P2P_QUIC_RELIABLEQUICSTREAM_H_ |
| 13 | 13 |
| 14 #include "net/quic/reliable_quic_stream.h" | 14 #include "net/quic/reliable_quic_stream.h" |
| 15 #include "webrtc/base/constructormagic.h" | 15 #include "webrtc/rtc_base/constructormagic.h" |
| 16 #include "webrtc/base/sigslot.h" | 16 #include "webrtc/rtc_base/sigslot.h" |
| 17 #include "webrtc/base/stream.h" | 17 #include "webrtc/rtc_base/stream.h" |
| 18 | 18 |
| 19 namespace cricket { | 19 namespace cricket { |
| 20 | 20 |
| 21 // Streams created by QuicSession. | 21 // Streams created by QuicSession. |
| 22 class ReliableQuicStream : public net::ReliableQuicStream, | 22 class ReliableQuicStream : public net::ReliableQuicStream, |
| 23 public sigslot::has_slots<> { | 23 public sigslot::has_slots<> { |
| 24 public: | 24 public: |
| 25 ReliableQuicStream(net::QuicStreamId id, net::QuicSession* session); | 25 ReliableQuicStream(net::QuicStreamId id, net::QuicSession* session); |
| 26 | 26 |
| 27 ~ReliableQuicStream() override; | 27 ~ReliableQuicStream() override; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 47 // the stream was previously write blocked. | 47 // the stream was previously write blocked. |
| 48 sigslot::signal2<net::QuicStreamId, uint64_t> SignalQueuedBytesWritten; | 48 sigslot::signal2<net::QuicStreamId, uint64_t> SignalQueuedBytesWritten; |
| 49 | 49 |
| 50 private: | 50 private: |
| 51 RTC_DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream); | 51 RTC_DISALLOW_COPY_AND_ASSIGN(ReliableQuicStream); |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace cricket | 54 } // namespace cricket |
| 55 | 55 |
| 56 #endif // WEBRTC_P2P_QUIC_RELIABLEQUICSTREAM_H_ | 56 #endif // WEBRTC_P2P_QUIC_RELIABLEQUICSTREAM_H_ |
| OLD | NEW |