Need implementation for service scanning.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c4b0978fd188d5eed6b8804ec39455bee19011eb commit c4b0978fd188d5eed6b8804ec39455bee19011eb Author: jlebel <jlebel@chromium.org> Date: Tue May 10 00:31:58 2016 Support for scanning services, update and remove services. Adding classes: + BluetoothLowEnergyPeripheralDelegate + BluetoothRemoteGattServiceMac + MockBluetoothCBServiceMac Adding tests for the gatt services. BUG= 603183 Review-Url: https://codereview.chromium.org/1948763003 Cr-Commit-Position: refs/heads/master@{#392490} [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/BUILD.gn [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/BUILD.gn [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/bluetooth.gyp [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/bluetooth_adapter_mac.mm [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/bluetooth_device_unittest.cc [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/bluetooth_low_energy_device_mac.h [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/bluetooth_low_energy_device_mac.mm [add] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/bluetooth_low_energy_peripheral_delegate.h [add] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm [add] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/bluetooth_remote_gatt_service_mac.h [add] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/bluetooth_remote_gatt_service_mac.mm [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/bluetooth_remote_gatt_service_unittest.cc [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/test/bluetooth_test_mac.h [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/test/bluetooth_test_mac.mm [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.h [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm [add] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/test/mock_bluetooth_cbservice_mac.h [add] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/bluetooth/test/mock_bluetooth_cbservice_mac.mm [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/device/device_tests.gyp [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/third_party/WebKit/LayoutTests/TestExpectations [modify] https://crrev.com/c4b0978fd188d5eed6b8804ec39455bee19011eb/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/abd908b0563133154ba42f77f26349b6be20b9b2 commit abd908b0563133154ba42f77f26349b6be20b9b2 Author: jlebel <jlebel@chromium.org> Date: Tue May 10 21:40:34 2016 Finishing: https://codereview.chromium.org/1948763003 Removing all services all at once. BUG= 603183 Review-Url: https://codereview.chromium.org/1964123002 Cr-Commit-Position: refs/heads/master@{#392731} [modify] https://crrev.com/abd908b0563133154ba42f77f26349b6be20b9b2/device/bluetooth/bluetooth_low_energy_device_mac.mm
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/1640ea3d56ce7cfc6a4936525f8bf401d40bb1d7 commit 1640ea3d56ce7cfc6a4936525f8bf401d40bb1d7 Author: jlebel <jlebel@chromium.org> Date: Tue May 10 22:45:35 2016 Finishing: https://codereview.chromium.org/1948763003 Adding DCHECK to make sure a service has been added when it has been discovered. BUG= 603183 Review-Url: https://codereview.chromium.org/1965023002 Cr-Commit-Position: refs/heads/master@{#392756} [modify] https://crrev.com/1640ea3d56ce7cfc6a4936525f8bf401d40bb1d7/device/bluetooth/bluetooth_low_energy_device_mac.mm
Fixed in Chrome Canary for Mac 52.0.2734.0
Comment 1 by jlebel@chromium.org
, Apr 13 2016