| 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/base/load_timing_info.h" | 18 #include "net/base/load_timing_info.h" |
| 19 #include "net/base/net_export.h" | 19 #include "net/base/net_export.h" |
| 20 #include "net/http/http_response_info.h" | 20 #include "net/http/http_response_info.h" |
| 21 #include "net/http/http_stream.h" | 21 #include "net/http/http_stream.h" |
| 22 #include "net/log/net_log_with_source.h" | 22 #include "net/log/net_log_with_source.h" |
| 23 #include "net/quic/chromium/quic_chromium_client_session.h" | 23 #include "net/quic/chromium/quic_chromium_client_session.h" |
| 24 #include "net/quic/chromium/quic_chromium_client_stream.h" | 24 #include "net/quic/chromium/quic_chromium_client_stream.h" |
| 25 #include "net/quic/core/quic_client_push_promise_index.h" | 25 #include "net/quic/core/quic_client_push_promise_index.h" |
| 26 #include "net/quic/core/quic_protocol.h" | 26 #include "net/quic/core/quic_packets.h" |
| 27 | 27 |
| 28 namespace net { | 28 namespace net { |
| 29 | 29 |
| 30 namespace test { | 30 namespace test { |
| 31 class QuicHttpStreamPeer; | 31 class QuicHttpStreamPeer; |
| 32 } // namespace test | 32 } // namespace test |
| 33 | 33 |
| 34 // The QuicHttpStream is a QUIC-specific HttpStream subclass. It holds a | 34 // The QuicHttpStream is a QUIC-specific HttpStream subclass. It holds a |
| 35 // non-owning pointer to a QuicChromiumClientStream which it uses to | 35 // non-owning pointer to a QuicChromiumClientStream which it uses to |
| 36 // send and receive data. | 36 // send and receive data. |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 LoadTimingInfo::ConnectTiming connect_timing_; | 233 LoadTimingInfo::ConnectTiming connect_timing_; |
| 234 | 234 |
| 235 base::WeakPtrFactory<QuicHttpStream> weak_factory_; | 235 base::WeakPtrFactory<QuicHttpStream> weak_factory_; |
| 236 | 236 |
| 237 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); | 237 DISALLOW_COPY_AND_ASSIGN(QuicHttpStream); |
| 238 }; | 238 }; |
| 239 | 239 |
| 240 } // namespace net | 240 } // namespace net |
| 241 | 241 |
| 242 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ | 242 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ |
| OLD | NEW |