Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2251)

Unified Diff: content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h

Issue 1991063002: Implement the gattserverdisconnected event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename-web-bluetooth-device
Patch Set: Skip the new tests on Mac, where getCharacteristic isn't implemented yet. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 9e56fa3c8cbbb7eeb187c342a12dbc3998a93895..beab167b2e062658fa219de2c0016691901c58a8 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
@@ -182,6 +182,24 @@ class LayoutTestBluetoothAdapterProvider {
static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>>
GetHeartRateAdapter();
+ // |DisconnectingHeartRateAdapter|
+ // Inherits from |HeartRateAdapter|
+ // Internal Structure:
+ // - Heart Rate Device
+ // - UUIDs:
+ // - Generic Access UUID (0x1800)
+ // - Heart Rate UUID (0x180d)
+ // - Services:
+ // - Generic Access Service - Characteristics as described in
+ // GetGenericAccessService.
+ // - Heart Rate Service - Characteristics as described in
+ // GetHeartRateService.
+ // - Request Disconnection Service:
+ // - Request Disconnection Characteristic - A write will cause the
+ // device to disconnect.
+ static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>>
+ GetDisconnectingHeartRateAdapter();
+
// |BlacklistTestAdapter|
// Inherits from |EmptyAdapter|
// Internal Structure:

Powered by Google App Engine
This is Rietveld 408576698