Chromium Code Reviews| Index: content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h |
| diff --git a/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h b/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h |
| index 85b7d78e95ca487657614fd7fc6244fbbff29016..2beaf6f3bfd7be38f04e74c449605e2734a61fad 100644 |
| --- a/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h |
| +++ b/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h |
| @@ -205,6 +205,23 @@ class LayoutTestBluetoothAdapterProvider { |
| static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>> |
| GetHeartRateAdapter(); |
| + // |HeartRateAndHIDAdapter| |
|
ortuno
2016/02/12 16:41:47
Can you add this device to the testing API doc or
scheib
2016/02/12 18:25:32
issue filed:
https://github.com/WebBluetoothCG/web
|
| + // Inherits from |EmptyAdapter| |
| + // Internal Structure: |
| + // - |ConnectableDevice|(adapter, "Heart Rate And HID Device", uuids) |
| + // - Advertised UUIDs: |
| + // - Heart Rate UUID (0x180d) |
| + // - Human Interface Device UUID (0x1812) (a blacklisted service) |
| + // - Services: |
| + // - Generic Access Service - Characteristics as described in |
| + // GetGenericAccessService. |
| + // - Heart Rate Service - Characteristics as described in |
| + // GetHeartRateService. |
| + // - Human Interface Device Service - No characteristics needed |
| + // because the service is blacklisted. |
| + static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>> |
| + GetHeartRateAndHIDAdapter(); |
| + |
| // |DelayedServicesDiscoveryAdapter| |
| // Inherits from |EmptyAdapter| |
| // Internal Structure: |