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

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

Issue 189263004: Bluetooth: write documentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address armansito review comments Created 6 years, 9 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
new file mode 100644
index 0000000000000000000000000000000000000000..64d289b9346a09d5ac9775cb6ea745800e9980bf
--- /dev/null
+++ b/chrome/common/extensions/docs/templates/articles/manifest/bluetooth.html
@@ -0,0 +1,28 @@
+<h1>bluetooth</h1>
mkearney1 2014/03/10 21:13:37 This should be Manifest - Bluetooth like the other
keybuk 2014/03/11 17:03:39 Done.
keybuk 2014/03/11 17:03:39 Done.
+
+<p>
+The <code>bluetooth</code> manifest property declares which permissions are
+available for the $ref:bluetooth API.
+</p>
+
+<h2 id="manifest">Sample manifest.json</h2>
+<pre data-filename="manifest.json">
+{
+ "name": "My Bluetooth {{platform}}",
+ "bluetooth": {
+ // Permission for chrome.bluetooth.addProfile:
+ // The application is allowed to make and receive connections
+ // implementing the profiles identified by the UUIDs
+ // 0x1105 and 0x1106.
+ "profiles": [ "1105", "1106" ]
+ },
+ ...
+}
+</pre>
+
+<section>
+<h2 id="reference">Reference</h2>
+<p class="api_reference">
+{{+partials.type type:apis.manifestTypes.byName.bluetooth/}}
+</p>
+</section>

Powered by Google App Engine
This is Rietveld 408576698