OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CORE_QUIC_HEADERS_STREAM_H_ | 5 #ifndef NET_QUIC_CORE_QUIC_HEADERS_STREAM_H_ |
6 #define NET_QUIC_CORE_QUIC_HEADERS_STREAM_H_ | 6 #define NET_QUIC_CORE_QUIC_HEADERS_STREAM_H_ |
7 | 7 |
8 #include <cstddef> | 8 #include <cstddef> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "net/quic/core/quic_header_list.h" | 12 #include "net/quic/core/quic_header_list.h" |
13 #include "net/quic/core/quic_packets.h" | 13 #include "net/quic/core/quic_packets.h" |
14 #include "net/quic/core/quic_stream.h" | 14 #include "net/quic/core/quic_stream.h" |
15 #include "net/quic/platform/api/quic_export.h" | 15 #include "net/quic/platform/api/quic_export.h" |
16 #include "net/spdy/spdy_framer.h" | 16 #include "net/spdy/core/spdy_framer.h" |
17 | 17 |
18 namespace net { | 18 namespace net { |
19 | 19 |
20 class QuicSpdySession; | 20 class QuicSpdySession; |
21 | 21 |
22 namespace test { | 22 namespace test { |
23 class QuicHeadersStreamPeer; | 23 class QuicHeadersStreamPeer; |
24 } // namespace test | 24 } // namespace test |
25 | 25 |
26 // Headers in QUIC are sent as HTTP/2 HEADERS or PUSH_PROMISE frames over a | 26 // Headers in QUIC are sent as HTTP/2 HEADERS or PUSH_PROMISE frames over a |
(...skipping 17 matching lines...) Expand all Loading... |
44 bool IsConnected(); | 44 bool IsConnected(); |
45 | 45 |
46 QuicSpdySession* spdy_session_; | 46 QuicSpdySession* spdy_session_; |
47 | 47 |
48 DISALLOW_COPY_AND_ASSIGN(QuicHeadersStream); | 48 DISALLOW_COPY_AND_ASSIGN(QuicHeadersStream); |
49 }; | 49 }; |
50 | 50 |
51 } // namespace net | 51 } // namespace net |
52 | 52 |
53 #endif // NET_QUIC_CORE_QUIC_HEADERS_STREAM_H_ | 53 #endif // NET_QUIC_CORE_QUIC_HEADERS_STREAM_H_ |
OLD | NEW |