diff options
author | pliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-05 14:30:12 +0000 |
---|---|---|
committer | pliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-05 14:30:12 +0000 |
commit | 9a35f8d9b69e54cf7ec50f69668444ef3a4b139b (patch) | |
tree | 85c12696032af433b6b8c7fb8f4f7dc37ac44539 /tools/android | |
parent | 9fb62b6a8d4e49d1fade8a86dd6f2b1c6ad18646 (diff) | |
download | chromium_src-9a35f8d9b69e54cf7ec50f69668444ef3a4b139b.zip chromium_src-9a35f8d9b69e54cf7ec50f69668444ef3a4b139b.tar.gz chromium_src-9a35f8d9b69e54cf7ec50f69668444ef3a4b139b.tar.bz2 |
Add log message to forwarder2's DeviceController when a port is unmapped.
BUG=313809
R=bulach@chromium.org
Review URL: https://codereview.chromium.org/59763003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/android')
-rw-r--r-- | tools/android/forwarder2/device_controller.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/android/forwarder2/device_controller.cc b/tools/android/forwarder2/device_controller.cc index a6d370b..eda5868 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; } |