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

Unified Diff: device/bluetooth/bluetooth_task_manager_win.cc

Issue 1681853003: Add BluetoothRemoteGattServiceWin to BluetoothDeviceWin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add PlatformSupportsLowEnergy check in the unittests Created 4 years, 10 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 | « device/bluetooth/bluetooth_remote_gatt_service_win.cc ('k') | device/bluetooth/test/bluetooth_test_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_task_manager_win.cc
diff --git a/device/bluetooth/bluetooth_task_manager_win.cc b/device/bluetooth/bluetooth_task_manager_win.cc
index 0419637e1ebff1b1d723f6c2d89015f18e50b59c..1f9364d47912cd3319d823db7ccee437a26c2905 100644
--- a/device/bluetooth/bluetooth_task_manager_win.cc
+++ b/device/bluetooth/bluetooth_task_manager_win.cc
@@ -534,8 +534,11 @@ bool BluetoothTaskManagerWin::DiscoverServices(
} else {
if (!DiscoverLowEnergyDeviceServices(device->path,
service_record_states)) {
- return SearchForGattServiceDevicePaths(device->address,
- service_record_states);
+ return false;
+ }
+ if (!SearchForGattServiceDevicePaths(device->address,
+ service_record_states)) {
+ return false;
}
}
}
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_service_win.cc ('k') | device/bluetooth/test/bluetooth_test_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698