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

Side by Side Diff: chrome/browser/devtools/device/tcp_device_provider.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 years, 7 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 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" 13 #include "base/strings/stringprintf.h"
14 #include "base/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
15 #include "chrome/browser/devtools/device/adb/adb_client_socket.h" 15 #include "chrome/browser/devtools/device/adb/adb_client_socket.h"
16 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
17 #include "net/dns/host_resolver.h" 17 #include "net/dns/host_resolver.h"
18 #include "net/socket/tcp_client_socket.h" 18 #include "net/socket/tcp_client_socket.h"
19 19
20 namespace { 20 namespace {
21 21
22 const char kDeviceModel[] = "Remote Target"; 22 const char kDeviceModel[] = "Remote Target";
23 const char kBrowserName[] = "Target"; 23 const char kBrowserName[] = "Target";
24 24
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 release_callback_.Run(); 125 release_callback_.Run();
126 } 126 }
127 127
128 void TCPDeviceProvider::set_release_callback_for_test( 128 void TCPDeviceProvider::set_release_callback_for_test(
129 const base::Closure& callback) { 129 const base::Closure& callback) {
130 release_callback_ = callback; 130 release_callback_ = callback;
131 } 131 }
132 132
133 TCPDeviceProvider::~TCPDeviceProvider() { 133 TCPDeviceProvider::~TCPDeviceProvider() {
134 } 134 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698