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

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: 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 | « chrome/common/extensions/api/web_navigation.json ('k') | chrome/common/extensions/api/windows.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 43ccdd454e66e3a689b1dd1150edfcae1e8bc48e..aa6642c139ef2cb6953b95496ac5cd59737b56df 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": [
@@ -366,8 +371,7 @@
"parameters": [
{
"name": "webgl_status",
- "type": "string",
- "enum": ["webgl_allowed", "webgl_blocked"]
+ "$ref": "WebGlStatus"
}
]
}
« no previous file with comments | « chrome/common/extensions/api/web_navigation.json ('k') | chrome/common/extensions/api/windows.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698