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" | |
14 #include "net/base/load_flags.h" | 13 #include "net/base/load_flags.h" |
15 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
16 #include "net/http/http_response_headers.h" | 15 #include "net/http/http_response_headers.h" |
17 #include "net/http/http_util.h" | 16 #include "net/http/http_util.h" |
18 #include "net/log/net_log_event_type.h" | 17 #include "net/log/net_log_event_type.h" |
19 #include "net/log/net_log_source.h" | 18 #include "net/log/net_log_source.h" |
20 #include "net/quic/core/quic_client_promised_info.h" | 19 #include "net/quic/core/quic_client_promised_info.h" |
21 #include "net/quic/core/quic_http_utils.h" | 20 #include "net/quic/core/quic_http_utils.h" |
22 #include "net/quic/core/quic_utils.h" | 21 #include "net/quic/core/quic_utils.h" |
23 #include "net/quic/core/spdy_utils.h" | 22 #include "net/quic/core/spdy_utils.h" |
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 closed_is_first_stream_ = stream_->IsFirstStream(); | 859 closed_is_first_stream_ = stream_->IsFirstStream(); |
861 stream_ = nullptr; | 860 stream_ = nullptr; |
862 | 861 |
863 // If |request_body_stream_| is non-NULL, Reset it, to abort any in progress | 862 // If |request_body_stream_| is non-NULL, Reset it, to abort any in progress |
864 // read. | 863 // read. |
865 if (request_body_stream_) | 864 if (request_body_stream_) |
866 request_body_stream_->Reset(); | 865 request_body_stream_->Reset(); |
867 } | 866 } |
868 | 867 |
869 } // namespace net | 868 } // namespace net |
OLD | NEW |