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 #include "net/quic/chromium/quic_http_stream.h" | 5 #include "net/quic/chromium/quic_http_stream.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/auto_reset.h" | 9 #include "base/auto_reset.h" |
10 #include "base/callback_helpers.h" | 10 #include "base/callback_helpers.h" |
11 #include "base/metrics/histogram_macros.h" | 11 #include "base/metrics/histogram_macros.h" |
12 #include "base/strings/string_split.h" | 12 #include "base/strings/string_split.h" |
13 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
14 #include "net/base/load_flags.h" | 14 #include "net/base/load_flags.h" |
15 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
16 #include "net/http/http_response_headers.h" | 16 #include "net/http/http_response_headers.h" |
17 #include "net/http/http_util.h" | 17 #include "net/http/http_util.h" |
18 #include "net/log/net_log_event_type.h" | 18 #include "net/log/net_log_event_type.h" |
| 19 #include "net/log/net_log_source.h" |
19 #include "net/quic/core/quic_client_promised_info.h" | 20 #include "net/quic/core/quic_client_promised_info.h" |
20 #include "net/quic/core/quic_http_utils.h" | 21 #include "net/quic/core/quic_http_utils.h" |
21 #include "net/quic/core/quic_utils.h" | 22 #include "net/quic/core/quic_utils.h" |
22 #include "net/quic/core/spdy_utils.h" | 23 #include "net/quic/core/spdy_utils.h" |
23 #include "net/spdy/spdy_frame_builder.h" | 24 #include "net/spdy/spdy_frame_builder.h" |
24 #include "net/spdy/spdy_framer.h" | 25 #include "net/spdy/spdy_framer.h" |
25 #include "net/spdy/spdy_http_utils.h" | 26 #include "net/spdy/spdy_http_utils.h" |
26 #include "net/ssl/ssl_info.h" | 27 #include "net/ssl/ssl_info.h" |
27 | 28 |
28 namespace net { | 29 namespace net { |
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
824 closed_is_first_stream_ = stream_->IsFirstStream(); | 825 closed_is_first_stream_ = stream_->IsFirstStream(); |
825 stream_ = nullptr; | 826 stream_ = nullptr; |
826 | 827 |
827 // If |request_body_stream_| is non-NULL, Reset it, to abort any in progress | 828 // If |request_body_stream_| is non-NULL, Reset it, to abort any in progress |
828 // read. | 829 // read. |
829 if (request_body_stream_) | 830 if (request_body_stream_) |
830 request_body_stream_->Reset(); | 831 request_body_stream_->Reset(); |
831 } | 832 } |
832 | 833 |
833 } // namespace net | 834 } // namespace net |
OLD | NEW |