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

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

Issue 1549203002: Switch to standard integer types in tools/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 <string> 7 #include <string>
8 8
9 #include "base/basictypes.h"
10 #include "base/bind.h" 9 #include "base/bind.h"
11 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
12 #include "base/logging.h" 11 #include "base/logging.h"
13 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
14 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
15 #include "tools/android/forwarder2/command.h" 14 #include "tools/android/forwarder2/command.h"
16 #include "tools/android/forwarder2/forwarder.h" 15 #include "tools/android/forwarder2/forwarder.h"
17 #include "tools/android/forwarder2/socket.h" 16 #include "tools/android/forwarder2/socket.h"
18 17
19 namespace forwarder2 { 18 namespace forwarder2 {
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 LOG(ERROR) << "Could not send unmap command for port " << device_port_; 161 LOG(ERROR) << "Could not send unmap command for port " << device_port_;
163 return; 162 return;
164 } 163 }
165 if (!ReceivedCommand(command::UNLISTEN_SUCCESS, &socket)) { 164 if (!ReceivedCommand(command::UNLISTEN_SUCCESS, &socket)) {
166 LOG(ERROR) << "Unamp command failed for port " << device_port_; 165 LOG(ERROR) << "Unamp command failed for port " << device_port_;
167 return; 166 return;
168 } 167 }
169 } 168 }
170 169
171 } // namespace forwarder2 170 } // namespace forwarder2
OLDNEW
« no previous file with comments | « tools/android/forwarder2/host_controller.h ('k') | tools/android/forwarder2/host_forwarder_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698