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

Unified Diff: extensions/common/api/bluetooth_private.json

Issue 819713002: bluetoothPrivate: Add disconnectAll function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ran update_extension_functions.py Created 6 years 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_private.json
diff --git a/extensions/common/api/bluetooth_private.json b/extensions/common/api/bluetooth_private.json
index 20c82f1b95af5cf4f82d366254f7969c37f8073e..391397c965d8959a3d2df7f9acf486e9523ab3c1 100644
--- a/extensions/common/api/bluetooth_private.json
+++ b/extensions/common/api/bluetooth_private.json
@@ -36,6 +36,22 @@
"parameters": []
}
]
+ },
+ {
+ "name": "disconnect",
Jeffrey Yasskin 2014/12/20 00:53:48 Can you call this something that won't be confused
armansito 2014/12/20 01:24:28 Makes sense, will do.
+ "type": "function",
+ "description": "Tears down all connections to the given device.",
+ "parameters": [
+ {
+ "name": "deviceAddress",
+ "type": "string"
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "parameters": []
+ }
+ ]
}
],
"events": [

Powered by Google App Engine
This is Rietveld 408576698