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

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

Issue 259913003: Clean up bluetooth_private.json: Sort "name" to always be at the top. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/bluetooth_private.json
diff --git a/chrome/common/extensions/api/bluetooth_private.json b/chrome/common/extensions/api/bluetooth_private.json
index 74862d0287e44aae59021988cf735acceb705d81..d80572457164e45197be692bb28ff1714fca4687 100644
--- a/chrome/common/extensions/api/bluetooth_private.json
+++ b/chrome/common/extensions/api/bluetooth_private.json
@@ -7,6 +7,8 @@
},
"functions": [
{
+ "name": "setAdapterState",
+ "type": "function",
"description": "Changes the state of the Bluetooth adapter.",
"parameters": [
{
@@ -14,46 +16,44 @@
"$ref": "NewAdapterState"
},
{
- "type": "function",
"name": "callback",
+ "type": "function",
"parameters": []
}
- ],
- "name": "setAdapterState",
- "type": "function"
+ ]
},
{
+ "name": "setPairingResponse",
+ "type": "function",
"parameters": [
{
"name": "options",
"$ref": "SetPairingResponseOptions"
},
{
- "type": "function",
"name": "callback",
+ "type": "function",
"parameters": []
}
- ],
- "name": "setPairingResponse",
- "type": "function"
+ ]
}
],
"events": [
{
+ "name": "onPairing",
+ "type": "function",
"description": "Fired when a pairing event occurs.",
"parameters": [
{
- "description": "A pairing event.",
"name": "pairingEvent",
+ "description": "A pairing event.",
"$ref": "PairingEvent"
}
],
"options":
{
"maxListeners": 1
- },
- "name": "onPairing",
- "type": "function"
+ }
}
],
"types": [
@@ -138,21 +138,21 @@
"properties": {
"name": {
"optional": true,
- "description": "The human-readable name of the adapter.",
"name": "name",
- "type": "string"
+ "type": "string",
+ "description": "The human-readable name of the adapter."
},
"powered": {
"optional": true,
- "description": "Whether or not the adapter has power.",
"name": "powered",
- "type": "boolean"
+ "type": "boolean",
+ "description": "Whether or not the adapter has power."
},
"discoverable": {
"optional": true,
- "description": "Whether the adapter is discoverable by other devices.",
"name": "discoverable",
- "type": "boolean"
+ "type": "boolean",
+ "description": "Whether the adapter is discoverable by other devices."
}
}
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698