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

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

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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/disk_cache/simple/simple_synchronous_entry.cc ('k') | net/http/http_proxy_client_socket.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 (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/http/http_network_transaction.h" 5 #include "net/http/http_network_transaction.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/base64url.h" 12 #include "base/base64url.h"
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/bind_helpers.h" 14 #include "base/bind_helpers.h"
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "base/format_macros.h" 16 #include "base/format_macros.h"
17 #include "base/metrics/field_trial.h" 17 #include "base/metrics/field_trial.h"
18 #include "base/metrics/histogram_macros.h" 18 #include "base/metrics/histogram_macros.h"
19 #include "base/metrics/sparse_histogram.h" 19 #include "base/metrics/sparse_histogram.h"
20 #include "base/profiler/scoped_tracker.h" 20 #include "base/profiler/scoped_tracker.h"
21 #include "base/stl_util.h" 21 #include "base/stl_util.h"
22 #include "base/strings/string_number_conversions.h" 22 #include "base/strings/string_number_conversions.h"
23 #include "base/strings/string_util.h" 23 #include "base/strings/string_util.h"
24 #include "base/strings/stringprintf.h"
25 #include "base/time/time.h" 24 #include "base/time/time.h"
26 #include "base/values.h" 25 #include "base/values.h"
27 #include "build/build_config.h" 26 #include "build/build_config.h"
28 #include "net/base/auth.h" 27 #include "net/base/auth.h"
29 #include "net/base/host_port_pair.h" 28 #include "net/base/host_port_pair.h"
30 #include "net/base/io_buffer.h" 29 #include "net/base/io_buffer.h"
31 #include "net/base/load_flags.h" 30 #include "net/base/load_flags.h"
32 #include "net/base/load_timing_info.h" 31 #include "net/base/load_timing_info.h"
33 #include "net/base/net_errors.h" 32 #include "net/base/net_errors.h"
34 #include "net/base/upload_data_stream.h" 33 #include "net/base/upload_data_stream.h"
(...skipping 1666 matching lines...) Expand 10 before | Expand all | Expand 10 after
1701 DCHECK(stream_request_); 1700 DCHECK(stream_request_);
1702 1701
1703 // Since the transaction can restart with auth credentials, it may create a 1702 // Since the transaction can restart with auth credentials, it may create a
1704 // stream more than once. Accumulate all of the connection attempts across 1703 // stream more than once. Accumulate all of the connection attempts across
1705 // those streams by appending them to the vector: 1704 // those streams by appending them to the vector:
1706 for (const auto& attempt : stream_request_->connection_attempts()) 1705 for (const auto& attempt : stream_request_->connection_attempts())
1707 connection_attempts_.push_back(attempt); 1706 connection_attempts_.push_back(attempt);
1708 } 1707 }
1709 1708
1710 } // namespace net 1709 } // namespace net
OLDNEW
« no previous file with comments | « net/disk_cache/simple/simple_synchronous_entry.cc ('k') | net/http/http_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698