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

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

Issue 1945823003: bluetooth: Remove BluetoothAdvertisementData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Remove fake adapters 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 b5454ce6c3309a50c2e9b35b09811407cfcb396b..9e56fa3c8cbbb7eeb187c342a12dbc3998a93895 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
@@ -117,32 +117,6 @@ class LayoutTestBluetoothAdapterProvider {
static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>>
GetEmptyAdapter();
- // |PowerValueAdapter|(tx_power, rssi)
- // Inherits from |EmptyAdapter|
- // Internal Structure:
- // - |HeartRateDevice|
- // - Mock Functions:
- // - GetInquiryTxPower(): Returns tx_power
- // - GetInquiryRSSI(): Returns rssi
- static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>>
- GetPowerValueAdapter(int8_t tx_power, int8_t rssi);
-
- // |PowerPresenceAdapter|(tx_power_present, rssi_present)
- // Inherits from |EmptyAdapter|
- // Internal Structure:
- // - |HeartRateDevice|
- // - Mock Functions:
- // - GetInquiryTxPower(): If tx_power_present is true, returns -10,
- // the TxPower of a device broadcasting at 0.1mW. Otherwise
- // returns 127 which denotes a missing Tx Power.
- // TODO(ortuno): Change 127 to -128 when Tx Power Unknown value gets
- // fixed: http://crbug.com/551572
- // - GetInquiryRSSI(): If rssi_present is true returns -51,
- // the RSSI at 1m from a device broadcasting at 0.1mW. Otherwise
- // returns 127 which denotes a missing RSSI.
- static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>>
- GetPowerPresenceAdapter(bool tx_power_present, bool rssi_present);
-
// |GlucoseHeartRateAdapter|
// Inherits from |EmptyAdapter|
// Devices added:

Powered by Google App Engine
This is Rietveld 408576698