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

Side by Side Diff: tools/android/forwarder2/host_controller.cc

Issue 1969863002: Fix include path for moved thread_task_runner_handle.h header in tools/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: 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 (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 "tools/android/forwarder2/host_controller.h" 5 #include "tools/android/forwarder2/host_controller.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
15 #include "tools/android/forwarder2/command.h" 15 #include "tools/android/forwarder2/command.h"
16 #include "tools/android/forwarder2/forwarder.h" 16 #include "tools/android/forwarder2/forwarder.h"
17 #include "tools/android/forwarder2/socket.h" 17 #include "tools/android/forwarder2/socket.h"
18 18
19 namespace forwarder2 { 19 namespace forwarder2 {
20 20
21 // static 21 // static
22 std::unique_ptr<HostController> HostController::Create( 22 std::unique_ptr<HostController> HostController::Create(
23 int device_port, 23 int device_port,
24 int host_port, 24 int host_port,
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 LOG(ERROR) << "Could not send unmap command for port " << device_port_; 160 LOG(ERROR) << "Could not send unmap command for port " << device_port_;
161 return; 161 return;
162 } 162 }
163 if (!ReceivedCommand(command::UNLISTEN_SUCCESS, &socket)) { 163 if (!ReceivedCommand(command::UNLISTEN_SUCCESS, &socket)) {
164 LOG(ERROR) << "Unamp command failed for port " << device_port_; 164 LOG(ERROR) << "Unamp command failed for port " << device_port_;
165 return; 165 return;
166 } 166 }
167 } 167 }
168 168
169 } // namespace forwarder2 169 } // namespace forwarder2
OLDNEW
« no previous file with comments | « tools/android/forwarder2/device_listener.cc ('k') | tools/android/forwarder2/self_deleter_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698