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

Unified Diff: device/bluetooth/test/mock_bluetooth_adapter.h

Issue 2353133005: Add the chrome.bluetoothLowEnergy.setAdvertisingInterval API. (Closed)
Patch Set: Created 4 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: device/bluetooth/test/mock_bluetooth_adapter.h
diff --git a/device/bluetooth/test/mock_bluetooth_adapter.h b/device/bluetooth/test/mock_bluetooth_adapter.h
index a59674097a8992d4a592e0f78e829fbcecc0f334..9ade9f5d6be07f5e92431f498935c21bd5f43e9f 100644
--- a/device/bluetooth/test/mock_bluetooth_adapter.h
+++ b/device/bluetooth/test/mock_bluetooth_adapter.h
@@ -137,7 +137,12 @@ class MockBluetoothAdapter : public BluetoothAdapter {
void RegisterAdvertisement(
std::unique_ptr<BluetoothAdvertisement::Data> advertisement_data,
const CreateAdvertisementCallback& callback,
- const CreateAdvertisementErrorCallback& error_callback) override;
+ const AdvertisementErrorCallback& error_callback) override;
+ void SetAdvertisingInterval(
xiyuan 2016/09/21 16:35:23 Should it be put under #if defined(OS_CHROMEOS)
Rahul Chaturvedi 2016/09/21 18:54:12 Yep :) Done.
+ const base::TimeDelta& min,
+ const base::TimeDelta& max,
+ const base::Closure& callback,
+ const AdvertisementErrorCallback& error_callback) override;
virtual ~MockBluetoothAdapter();
MOCK_METHOD1(RemovePairingDelegateInternal,

Powered by Google App Engine
This is Rietveld 408576698