Skip to content

Commit

Permalink
Bluetooth: add extra logging messages
Browse files Browse the repository at this point in the history
BUG=None
TBR=armansito

Review URL: https://codereview.chromium.org/294163004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271965 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
keybuk@chromium.org committed May 21, 2014
1 parent e36bc95 commit a5473ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions device/bluetooth/bluetooth_socket_chromeos.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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));;
Expand Down

0 comments on commit a5473ab

Please sign in to comment.