OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_QUIC_HTTP_STREAM_H_ | 5 #ifndef NET_QUIC_QUIC_HTTP_STREAM_H_ |
6 #define NET_QUIC_QUIC_HTTP_STREAM_H_ | 6 #define NET_QUIC_QUIC_HTTP_STREAM_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <list> | 11 #include <list> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "net/base/io_buffer.h" | 17 #include "net/base/io_buffer.h" |
18 #include "net/http/http_stream.h" | 18 #include "net/http/http_stream.h" |
19 #include "net/quic/chromium/quic_chromium_client_session.h" | 19 #include "net/quic/chromium/quic_chromium_client_session.h" |
20 #include "net/quic/chromium/quic_chromium_client_stream.h" | 20 #include "net/quic/chromium/quic_chromium_client_stream.h" |
21 #include "net/quic/quic_client_push_promise_index.h" | 21 #include "net/quic/core/quic_client_push_promise_index.h" |
22 | 22 |
23 namespace net { | 23 namespace net { |
24 | 24 |
25 namespace test { | 25 namespace test { |
26 class QuicHttpStreamPeer; | 26 class QuicHttpStreamPeer; |
27 } // namespace test | 27 } // namespace test |
28 | 28 |
29 // The QuicHttpStream is a QUIC-specific HttpStream subclass. It holds a | 29 // The QuicHttpStream is a QUIC-specific HttpStream subclass. It holds a |
30 // non-owning pointer to a QuicChromiumClientStream which it uses to | 30 // non-owning pointer to a QuicChromiumClientStream which it uses to |
31 // send and receive data. | 31 // send and receive data. |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 bool in_loop_; | 211 bool in_loop_; |
212 | 212 |
213 base::WeakPtrFactory<QuicHttpStream> weak_factory_; | 213 base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
214 | 214 |
215 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); | 215 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); |
216 }; | 216 }; |
217 | 217 |
218 } // namespace net | 218 } // namespace net |
219 | 219 |
220 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ | 220 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ |
OLD | NEW |