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

Unified Diff: device/bluetooth/bluetooth_adapter.h

Issue 2861533004: Implement chrome.bluetoothLowEnergy.resetAdvertising(). (Closed)
Patch Set: Implement chrome.bluetoothLowEnergy.resetAllAdvertisements(). Created 3 years, 6 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/bluetooth_adapter.h
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h
index 291adeffdf1368c94d5020f6a98dbd936515b3b8..bdefc09ba3b2de63c7e866007b33d76d4d6c1b08 100644
--- a/device/bluetooth/bluetooth_adapter.h
+++ b/device/bluetooth/bluetooth_adapter.h
@@ -456,6 +456,12 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter
const base::TimeDelta& max,
const base::Closure& callback,
const AdvertisementErrorCallback& error_callback) = 0;
+
+ // Resets advertising on this adapter. This will unregister all existing
+ // advertisements and will stop advertising them.
+ virtual void ResetAdvertising(
+ const base::Closure& callback,
+ const AdvertisementErrorCallback& error_callback) = 0;
#endif
// Returns the local GATT services associated with this adapter with the

Powered by Google App Engine
This is Rietveld 408576698