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

Unified Diff: extensions/common/api/bluetooth_low_energy.idl

Issue 2861533004: Implement chrome.bluetoothLowEnergy.resetAdvertising(). (Closed)
Patch Set: Created 3 years, 8 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: extensions/common/api/bluetooth_low_energy.idl
diff --git a/extensions/common/api/bluetooth_low_energy.idl b/extensions/common/api/bluetooth_low_energy.idl
index b35cd98806b395692e767ed46966a6ebf90fd36d..1f89e812c4be2b0c2ea628431f540540d33e1bf0 100644
--- a/extensions/common/api/bluetooth_low_energy.idl
+++ b/extensions/common/api/bluetooth_low_energy.idl
@@ -464,6 +464,10 @@ namespace bluetoothLowEnergy {
static void unregisterAdvertisement(long advertisementId,
ResultCallback callback);
+ // Unregisters all advertisements and stops their advertising.
+ // |callback|: Called once all the advertisements are unregistered.
+ static void resetAllAdvertisements(ResultCallback callback);
rkc 2017/05/19 23:44:26 This should be resetAdvertising and the header com
Sonny Sasaka 2017/06/01 22:28:11 Done.
+
// Set's the interval betweeen two consecutive advertisements. Note:
// This is a best effort. The actual interval may vary non-trivially
// from the requested intervals. On some hardware, there is a minimum

Powered by Google App Engine
This is Rietveld 408576698