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

Side by Side Diff: chrome/browser/devtools/device/tcp_device_provider.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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/devtools/device/tcp_device_provider.h" 5 #include "chrome/browser/devtools/device/tcp_device_provider.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "base/stl_util.h" 11 #include "base/stl_util.h"
12 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/stringprintf.h"
14 #include "base/threading/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
15 #include "chrome/browser/devtools/device/adb/adb_client_socket.h" 14 #include "chrome/browser/devtools/device/adb/adb_client_socket.h"
16 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
17 #include "net/dns/host_resolver.h" 16 #include "net/dns/host_resolver.h"
18 #include "net/log/net_log_source.h" 17 #include "net/log/net_log_source.h"
19 #include "net/log/net_log_with_source.h" 18 #include "net/log/net_log_with_source.h"
20 #include "net/socket/tcp_client_socket.h" 19 #include "net/socket/tcp_client_socket.h"
21 20
22 namespace { 21 namespace {
23 22
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 release_callback_.Run(); 127 release_callback_.Run();
129 } 128 }
130 129
131 void TCPDeviceProvider::set_release_callback_for_test( 130 void TCPDeviceProvider::set_release_callback_for_test(
132 const base::Closure& callback) { 131 const base::Closure& callback) {
133 release_callback_ = callback; 132 release_callback_ = callback;
134 } 133 }
135 134
136 TCPDeviceProvider::~TCPDeviceProvider() { 135 TCPDeviceProvider::~TCPDeviceProvider() {
137 } 136 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/device/port_forwarding_controller.cc ('k') | chrome/browser/devtools/devtools_sanity_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698