| 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 30748dcf7237f7193b04582ac672ee32cbe95085..20536a5e8f62263302c2fa5d69722e5e1348a9a8 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
|
| @@ -345,6 +345,28 @@ class LayoutTestBluetoothAdapterProvider {
|
| static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>>
|
| GetServicesDiscoveredAfterReconnectionAdapter(bool disconnect);
|
|
|
| + // |GATTOperationFinishesAfterReconnectionAdapter|(disconnect, succeeds)
|
| + // Inherits from |EmptyAdapter|
|
| + // Internal Structure:
|
| + // - Health Thermometer Device
|
| + // - UUIDs:
|
| + // - Generic Access UUID (0x1800)
|
| + // - Health Thermometer UUID (0x1809)
|
| + // - Services:
|
| + // - Generic Access Service - Characteristics as described in
|
| + // GetGenericAccessService.
|
| + // - Health Thermometer
|
| + // - Measurement Interval:
|
| + // - Read: If |succeeds| is true, saves a succeeding callback,
|
| + // otherwise it saves a failing callback. This callback
|
| + // is run during CreateGattConnection. If |disconnect| is true
|
| + // disconnects the device.
|
| + // - CreateGattConnection: Runs success callback with a new GATT
|
| + // connection and runs any pending GATT operation callbacks.
|
| + static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>>
|
| + GetGATTOperationFinishesAfterReconnectionAdapter(bool disconnect,
|
| + bool succeeds);
|
| +
|
| // |BlacklistTestAdapter|
|
| // Inherits from |EmptyAdapter|
|
| // Internal Structure:
|
|
|