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

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

Issue 1055673002: [Extensions API] Remove inline enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 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 | « extensions/browser/test_runtime_api_delegate.cc ('k') | extensions/common/api/extension_types.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/api/bluetooth_private.json
diff --git a/extensions/common/api/bluetooth_private.json b/extensions/common/api/bluetooth_private.json
index 90c44530d0d52bd3f738fdf5037090d0d5a6027a..1b3bb69ec018a04258e97e720740d92e47d1d58a 100644
--- a/extensions/common/api/bluetooth_private.json
+++ b/extensions/common/api/bluetooth_private.json
@@ -220,14 +220,18 @@
}
},
{
+ "id": "TransportType",
+ "type": "string",
+ "enum": [ "le", "bredr", "dual"]
+ },
+ {
"type": "object",
"id": "DiscoveryFilter",
"properties": {
"transport": {
+ "$ref": "TransportType",
"optional": true,
"name": "transport",
- "type": "string",
- "enum": [ "le", "bredr", "dual"],
"description": "Transport type."
},
"uuids": {
« no previous file with comments | « extensions/browser/test_runtime_api_delegate.cc ('k') | extensions/common/api/extension_types.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698