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