0
Files
src/content/browser/bluetooth
ortuno 42d4354380 bluetooth: Implement Service.getCharacteristics
1. Adds bindings for getCharacteristics
2. Adds getCharacteristics function to public interface
3. Implements getCharacteristics from public interface
4. Adds necessary IPC messages
5. Modifies HeartRateService so that it has two Body Sensor Location
   characteristics. This way we can test what happens when two characteristics
   have the same UUID. Also modify the GetBaseGATTCharacteristic function to
   take an identifier. Before we just used the UUID but we need to change it
   now that multiple characteristics have the same UUID.
6. Adds LayoutTests.

BUG=588876

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

Cr-Commit-Position: refs/heads/master@{#378001}
2016-02-26 22:17:37 +00:00
..

Bluetooth in Content

content/*/bluetooth implements Web Bluetooth using the device/bluetooth code module.

Testing

Bluetooth layout tests in third_party/WebKit/LayoutTests/bluetooth/ rely on fake Bluetooth implementation classes constructed in content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider. These tests span JavaScript binding to the device/bluetooth API layer.

Design Documents

See: Class Diagram of Web Bluetooth through Bluetooth Android