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

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

Issue 1353053002: Handle RESCAN events from the Bluetooth chooser by starting or extending a discovery session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Sync Created 5 years, 3 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 9d52de934c1d4b9ee2631142262174339c5b0ee4..ac87afe7c049881e628cb856fe9a5b5582b03119 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
@@ -121,6 +121,15 @@ class LayoutTestBluetoothAdapterProvider {
static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>>
GetGlucoseHeartRateAdapter();
+ // |SecondDiscoveryFindsHeartRateAdapter|
+ // Inherits from |PoweredAdapter|
+ // Mock Functions:
+ // - StartDiscoverySessionWithFilter:
+ // Run success callback with |DiscoverySession|.
+ // After the first call, adds a |HeartRateDevice|.
+ static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>>
+ GetSecondDiscoveryFindsHeartRateAdapter();
+
// |MissingServiceGenericAccessAdapter|
// Inherits from |EmptyAdapter|
// Internal Structure:

Powered by Google App Engine
This is Rietveld 408576698