Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1007)

Side by Side Diff: net/quic/chromium/quic_http_stream.cc

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698