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

Unified Diff: device/bluetooth/bluetooth_socket_chromeos.cc

Issue 294163004: Bluetooth: add extra logging messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 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: device/bluetooth/bluetooth_socket_chromeos.cc
diff --git a/device/bluetooth/bluetooth_socket_chromeos.cc b/device/bluetooth/bluetooth_socket_chromeos.cc
index bf0efa0eb82224e6d8c2cf416730681ed647e6a5..ddc0b1ff6fa5c61afd90210d30cdfdadc21f132c 100644
--- a/device/bluetooth/bluetooth_socket_chromeos.cc
+++ b/device/bluetooth/bluetooth_socket_chromeos.cc
@@ -476,6 +476,8 @@ void BluetoothSocketChromeOS::DoNewConnection(
VLOG(1) << object_path_.value() << ": Validity check complete.";
if (!fd->is_valid()) {
+ LOG(WARNING) << object_path_.value() << " :" << fd->value()
+ << ": Invalid file descriptor received from Bluetooth Daemon.";
ui_task_runner()->PostTask(FROM_HERE,
base::Bind(callback, REJECTED));;
return;
@@ -502,6 +504,7 @@ void BluetoothSocketChromeOS::DoNewConnection(
return;
}
+ VLOG(2) << object_path_.value() << ": Taking descriptor, confirming success.";
fd->TakeValue();
ui_task_runner()->PostTask(FROM_HERE,
base::Bind(callback, SUCCESS));;
« 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