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

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

Issue 1427653003: bluetooth: Implement TxPower and RSSI of BluetoothAdvertisementData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Fix webexposed test Created 5 years, 2 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 70a1f0d5fb29c3cc2be5e94606a4fc62b6b42f32..83e8f86706a0df7ffe3aeee9aac806d3cf9f4d7c 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
@@ -114,6 +114,16 @@ class LayoutTestBluetoothAdapterProvider {
static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>>
GetEmptyAdapter();
+ // |PowerDeviceAdapter|(power)
+ // Inherits from |EmptyAdapter|
+ // Internal Structure:
+ // - |HeartRateDevice|
+ // - Mock Functions:
+ // - GetInquiryTxPower(): Returns power
+ // - GetInquiryRSSI(): Returns power
+ static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>>
+ GetPowerDeviceAdapter(int power);
+
// |GlucoseHeartRateAdapter|
// Inherits from |EmptyAdapter|
// Devices added:

Powered by Google App Engine
This is Rietveld 408576698