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

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

Issue 344453003: Docserver: separate models for apps and extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test to availability_finder_test.py Created 6 years, 6 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/_api_features.json
diff --git a/chrome/common/extensions/api/_api_features.json b/chrome/common/extensions/api/_api_features.json
index 317c71f4b9b5978ac17f5fc76efb3fd967cecafc..0443f827e8371a56d7719b98781f18fd58509af3 100644
--- a/chrome/common/extensions/api/_api_features.json
+++ b/chrome/common/extensions/api/_api_features.json
@@ -774,7 +774,9 @@
"webstore": {
// Hosted apps can use the webstore API from within a blessed context.
"channel": "stable",
- "extension_types": ["hosted_app"],
+ // Do not specify extension_types to prevent webstore from being filtered.
+ // Technically, webstore is not in apps or extensions, but it is currently
+ // displayed on /extensions/webstore and /apps/webstore.
"contexts": ["blessed_web_page", "web_page"],
// Any webpage can use the webstore API.
"matches": ["http://*/*", "https://*/*"]

Powered by Google App Engine
This is Rietveld 408576698