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

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

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: 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 f0641f575d892e34f2eed6b7c0dcf3534510d52c..7a07b921a28b46cecdfd563cc667a002657fa225 100644
--- a/extensions/common/api/bluetooth_low_energy.idl
+++ b/extensions/common/api/bluetooth_low_energy.idl
@@ -470,6 +470,11 @@ namespace bluetoothLowEnergy {
static void unregisterAdvertisement(long advertisementId,
ResultCallback callback);
+ // Resets advertising on the current device. This will unregister all
tbarzic 2017/06/27 19:04:58 What do you think about changing the second senten
Sonny Sasaka 2017/06/27 22:03:14 Done.
+ // existing advertisements and will stop advertising them.
+ // |callback|: Called once the advertisements are reset.
+ static void resetAdvertising(ResultCallback callback);
tbarzic 2017/06/27 19:04:58 it might be worth mentioning how this affects adve
Sonny Sasaka 2017/06/27 22:03:14 So the naming has been changed before and we decid
tbarzic 2017/06/27 22:49:12 Acknowledged.
+
// 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