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

Unified Diff: tools/android/forwarder2/device_controller.cc

Issue 59763003: Add log message to forwarder2's DeviceController when a port is unmapped. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/forwarder2/device_controller.cc
diff --git a/tools/android/forwarder2/device_controller.cc b/tools/android/forwarder2/device_controller.cc
index a6d370b67655634b9553b037a516af1ffefb8661..eda5868213cce22b2b29ecaef26bcc92dd613fe2 100644
--- a/tools/android/forwarder2/device_controller.cc
+++ b/tools/android/forwarder2/device_controller.cc
@@ -119,7 +119,9 @@ void DeviceController::AcceptHostCommandInternal() {
listener->SetAdbDataSocket(socket.Pass());
break;
case command::UNLISTEN:
+ LOG(INFO) << "Unmapping port " << port;
if (!listener) {
+ LOG(ERROR) << "No listener found for port " << port;
SendCommand(command::UNLISTEN_ERROR, port, socket.get());
break;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698