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

Unified Diff: chrome/common/extensions/docs/templates/articles/manifest/bluetooth.html

Issue 325893002: Bluetooth: add socket & low_energy manifest check (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add permission denied tests Created 6 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: chrome/common/extensions/docs/templates/articles/manifest/bluetooth.html
diff --git a/chrome/common/extensions/docs/templates/articles/manifest/bluetooth.html b/chrome/common/extensions/docs/templates/articles/manifest/bluetooth.html
index 23b5541863d062950a93435973f0d1dfa36fe167..caedb5869e58ae776296a095a5bb1e7c1bfede63 100644
--- a/chrome/common/extensions/docs/templates/articles/manifest/bluetooth.html
+++ b/chrome/common/extensions/docs/templates/articles/manifest/bluetooth.html
@@ -10,11 +10,27 @@ available for the $(ref:bluetooth) API.
{
"name": "My Bluetooth {{platform}}",
"bluetooth": {
- // Permission for chrome.bluetooth.addProfile:
+ // Permission for chrome.bluetoothSocket:
// The application is allowed to communicate with devices
// using the protocols, profiles, or services identified by
- // the UUIDs 0x1105 and 0x1106.
- "uuids": [ "1105", "1106" ]
+ // the UUIDs 0x1105 and 0x1106 using the BluetoothSocket API.
+ "uuids": [ "1105", "1106" ],
+ "socket": true
+ },
+ ...
+}
+</pre>
+
+<pre data-filename="manifest.json">
+{
+ "name": "My Bluetooth {{platform}}",
+ "bluetooth": {
+ // Permission for chrome.bluetoothLowEnergy:
+ // The application is allowed to communicate with devices
+ // using the profiles identified by the UUIDs 0x180D, 0x1809 and 0x180F
+ // using the BluetoothLowEnergy API.
+ "uuids": [ "180D", "1809", "180F" ],
+ "low_energy": true
},
...
}

Powered by Google App Engine
This is Rietveld 408576698