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

Side by Side Diff: net/http/http_stream_factory_impl_job.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/http/http_server_properties_manager.cc ('k') | net/http/http_stream_parser_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 (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_stream_factory_impl_job.h" 5 #include "net/http/http_stream_factory_impl_job.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/metrics/histogram_macros.h" 14 #include "base/metrics/histogram_macros.h"
15 #include "base/metrics/sparse_histogram.h" 15 #include "base/metrics/sparse_histogram.h"
16 #include "base/profiler/scoped_tracker.h" 16 #include "base/profiler/scoped_tracker.h"
17 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
18 #include "base/stl_util.h" 18 #include "base/stl_util.h"
19 #include "base/strings/string_number_conversions.h" 19 #include "base/strings/string_number_conversions.h"
20 #include "base/strings/string_util.h" 20 #include "base/strings/string_util.h"
21 #include "base/strings/stringprintf.h"
22 #include "base/threading/thread_task_runner_handle.h" 21 #include "base/threading/thread_task_runner_handle.h"
23 #include "base/trace_event/trace_event.h" 22 #include "base/trace_event/trace_event.h"
24 #include "base/values.h" 23 #include "base/values.h"
25 #include "build/build_config.h" 24 #include "build/build_config.h"
26 #include "net/base/port_util.h" 25 #include "net/base/port_util.h"
27 #include "net/base/proxy_delegate.h" 26 #include "net/base/proxy_delegate.h"
28 #include "net/cert/cert_verifier.h" 27 #include "net/cert/cert_verifier.h"
29 #include "net/http/bidirectional_stream_impl.h" 28 #include "net/http/bidirectional_stream_impl.h"
30 #include "net/http/http_basic_stream.h" 29 #include "net/http/http_basic_stream.h"
31 #include "net/http/http_network_session.h" 30 #include "net/http/http_network_session.h"
(...skipping 1468 matching lines...) Expand 10 before | Expand all | Expand 10 after
1500 1499
1501 ConnectionAttempts socket_attempts = connection_->connection_attempts(); 1500 ConnectionAttempts socket_attempts = connection_->connection_attempts();
1502 if (connection_->socket()) { 1501 if (connection_->socket()) {
1503 connection_->socket()->GetConnectionAttempts(&socket_attempts); 1502 connection_->socket()->GetConnectionAttempts(&socket_attempts);
1504 } 1503 }
1505 1504
1506 delegate_->AddConnectionAttemptsToRequest(this, socket_attempts); 1505 delegate_->AddConnectionAttemptsToRequest(this, socket_attempts);
1507 } 1506 }
1508 1507
1509 } // namespace net 1508 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_server_properties_manager.cc ('k') | net/http/http_stream_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698