OLD | NEW |
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_QUIC_QUARTC_QUARTC_STREAM_H_ | 5 #ifndef NET_QUIC_QUARTC_QUARTC_STREAM_H_ |
6 #define NET_QUIC_QUARTC_QUARTC_STREAM_H_ | 6 #define NET_QUIC_QUARTC_QUARTC_STREAM_H_ |
7 | 7 |
8 #include "net/quic/core/quic_session.h" | 8 #include "net/quic/core/quic_session.h" |
9 #include "net/quic/core/quic_stream.h" | 9 #include "net/quic/core/quic_stream.h" |
| 10 #include "net/quic/platform/api/quic_export.h" |
10 #include "net/quic/quartc/quartc_stream_interface.h" | 11 #include "net/quic/quartc/quartc_stream_interface.h" |
11 | 12 |
12 namespace net { | 13 namespace net { |
13 | 14 |
14 // Implements a QuartcStreamInterface using a QuicStream. | 15 // Implements a QuartcStreamInterface using a QuicStream. |
15 class QUIC_EXPORT_PRIVATE QuartcStream : public QuicStream, | 16 class QUIC_EXPORT_PRIVATE QuartcStream : public QuicStream, |
16 public QuartcStreamInterface { | 17 public QuartcStreamInterface { |
17 public: | 18 public: |
18 QuartcStream(QuicStreamId id, QuicSession* session); | 19 QuartcStream(QuicStreamId id, QuicSession* session); |
19 | 20 |
(...skipping 25 matching lines...) Expand all Loading... |
45 | 46 |
46 void SetDelegate(QuartcStreamInterface::Delegate* delegate) override; | 47 void SetDelegate(QuartcStreamInterface::Delegate* delegate) override; |
47 | 48 |
48 private: | 49 private: |
49 QuartcStreamInterface::Delegate* delegate_ = nullptr; | 50 QuartcStreamInterface::Delegate* delegate_ = nullptr; |
50 }; | 51 }; |
51 | 52 |
52 } // namespace net | 53 } // namespace net |
53 | 54 |
54 #endif // NET_QUIC_QUARTC_QUARTC_STREAM_H_ | 55 #endif // NET_QUIC_QUARTC_QUARTC_STREAM_H_ |
OLD | NEW |