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

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

Issue 1055673002: [Extensions API] Remove inline enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/api/webstore_private.json
diff --git a/chrome/common/extensions/api/webstore_private.json b/chrome/common/extensions/api/webstore_private.json
index 09b726cdc4de7354a806c59735c6233a4f55f526..03aafd42b6a20dc66187b1a0ba4c54ee89dcffea 100644
--- a/chrome/common/extensions/api/webstore_private.json
+++ b/chrome/common/extensions/api/webstore_private.json
@@ -66,6 +66,11 @@
"description": "The extension is already installed"
}],
"description": "Whether the API call succeeded, or the reason for failure."
+ },
+ {
+ "id": "WebGlStatus",
+ "type": "string",
+ "enum": ["webgl_allowed", "webgl_blocked"]
}
],
"functions": [
@@ -302,8 +307,7 @@
"parameters": [
{
"name": "webgl_status",
- "type": "string",
- "enum": ["webgl_allowed", "webgl_blocked"]
+ "$ref": "WebGlStatus"
}
]
}

Powered by Google App Engine
This is Rietveld 408576698