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

Side by Side Diff: net/http/bidirectional_stream.cc

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 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
« no previous file with comments | « net/BUILD.gn ('k') | net/http/bidirectional_stream_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/http/bidirectional_stream.h" 5 #include "net/http/bidirectional_stream.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/metrics/histogram_macros.h" 14 #include "base/metrics/histogram_macros.h"
15 #include "base/threading/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "base/timer/timer.h" 16 #include "base/timer/timer.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #include "net/base/load_flags.h" 18 #include "net/base/load_flags.h"
19 #include "net/base/net_errors.h" 19 #include "net/base/net_errors.h"
20 #include "net/http/bidirectional_stream_request_info.h" 20 #include "net/http/bidirectional_stream_request_info.h"
21 #include "net/http/http_network_session.h" 21 #include "net/http/http_network_session.h"
22 #include "net/http/http_response_headers.h" 22 #include "net/http/http_response_headers.h"
23 #include "net/http/http_stream.h" 23 #include "net/http/http_stream.h"
24 #include "net/log/net_log.h" 24 #include "net/log/net_log.h"
25 #include "net/log/net_log_capture_mode.h" 25 #include "net/log/net_log_capture_mode.h"
26 #include "net/log/net_log_event_type.h" 26 #include "net/log/net_log_event_type.h"
27 #include "net/log/net_log_source_type.h" 27 #include "net/log/net_log_source_type.h"
28 #include "net/spdy/spdy_header_block.h" 28 #include "net/spdy/chromium/spdy_http_utils.h"
29 #include "net/spdy/spdy_http_utils.h" 29 #include "net/spdy/chromium/spdy_log_util.h"
30 #include "net/spdy/spdy_log_util.h" 30 #include "net/spdy/core/spdy_header_block.h"
31 #include "net/ssl/ssl_cert_request_info.h" 31 #include "net/ssl/ssl_cert_request_info.h"
32 #include "net/ssl/ssl_config.h" 32 #include "net/ssl/ssl_config.h"
33 #include "url/gurl.h" 33 #include "url/gurl.h"
34 34
35 namespace net { 35 namespace net {
36 36
37 namespace { 37 namespace {
38 38
39 std::unique_ptr<base::Value> NetLogHeadersCallback( 39 std::unique_ptr<base::Value> NetLogHeadersCallback(
40 const SpdyHeaderBlock* headers, 40 const SpdyHeaderBlock* headers,
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 "Net.BidirectionalStream.TimeToSendEnd.QUIC", 442 "Net.BidirectionalStream.TimeToSendEnd.QUIC",
443 load_timing_info_.send_end - load_timing_info_.request_start); 443 load_timing_info_.send_end - load_timing_info_.request_start);
444 UMA_HISTOGRAM_COUNTS("Net.BidirectionalStream.ReceivedBytes.QUIC", 444 UMA_HISTOGRAM_COUNTS("Net.BidirectionalStream.ReceivedBytes.QUIC",
445 stream_impl_->GetTotalReceivedBytes()); 445 stream_impl_->GetTotalReceivedBytes());
446 UMA_HISTOGRAM_COUNTS("Net.BidirectionalStream.SentBytes.QUIC", 446 UMA_HISTOGRAM_COUNTS("Net.BidirectionalStream.SentBytes.QUIC",
447 stream_impl_->GetTotalSentBytes()); 447 stream_impl_->GetTotalSentBytes());
448 } 448 }
449 } 449 }
450 450
451 } // namespace net 451 } // namespace net
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | net/http/bidirectional_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698