| 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));;
|
|
|