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

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

Issue 420663003: Extensions: Move bluetooth APIs to extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android, gn Created 6 years, 4 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
« no previous file with comments | « extensions/common/api/bluetooth_socket.idl ('k') | extensions/common/api/schemas.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/api/extensions_manifest_types.json
diff --git a/extensions/common/api/extensions_manifest_types.json b/extensions/common/api/extensions_manifest_types.json
index 00262692a85139b6418daa80713e063f616acf29..6e8e7ee568bd371ed7383f1047962b7d3a0cea66 100644
--- a/extensions/common/api/extensions_manifest_types.json
+++ b/extensions/common/api/extensions_manifest_types.json
@@ -98,6 +98,32 @@
}
}
}
+ },
+ {
+ "id": "bluetooth",
+ "type": "object",
+ "description": "The <code>bluetooth</code> manifest property give permission to an app to use the $(ref:bluetooth) API. A list of UUIDs can be optionally specified to enable communication with devices.",
+ "properties": {
+ "uuids": {
+ "description": "The <code>uuids</code> manifest property declares the list of protocols, profiles and services that an app can communicate using.",
+ "optional": true,
+ "type": "array",
+ "items": {
+ "description": "<p>The list specified as UUID strings.</p>",
+ "type": "string"
+ }
+ },
+ "socket": {
+ "type": "boolean",
+ "description": "If <code>true</code>, gives permission to an app to use the $(ref:bluetoothSocket) API",
+ "optional": true
+ },
+ "low_energy": {
+ "type": "boolean",
+ "description": "If <code>true</code>, gives permission to an app to use the $(ref:bluetoothLowEnergy) API",
+ "optional": true
+ }
+ }
}
]
}
« no previous file with comments | « extensions/common/api/bluetooth_socket.idl ('k') | extensions/common/api/schemas.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698