Commit 1a23ec0f authored by lfg's avatar lfg Committed by Commit bot

Fix regression where some apis were registered, but didn't exist.

BUG=369396

Review URL: https://codereview.chromium.org/549353002

Cr-Commit-Position: refs/heads/master@{#293865}
parent 397f1445
...@@ -830,6 +830,7 @@ ...@@ -830,6 +830,7 @@
"contexts": ["unblessed_extension"] "contexts": ["unblessed_extension"]
}], }],
"webviewTag": { "webviewTag": {
"internal": true,
"channel": "stable", "channel": "stable",
"dependencies": ["permission:webview"], "dependencies": ["permission:webview"],
"contexts": ["blessed_extension"] "contexts": ["blessed_extension"]
......
application: chrome-apps-doc application: chrome-apps-doc
version: 3-42-0 version: 3-42-1
runtime: python27 runtime: python27
api_version: 1 api_version: 1
threadsafe: false threadsafe: false
......
...@@ -2,4 +2,4 @@ cron: ...@@ -2,4 +2,4 @@ cron:
- description: Repopulates all cached data. - description: Repopulates all cached data.
url: /_cron url: /_cron
schedule: every 5 minutes schedule: every 5 minutes
target: 3-42-0 target: 3-42-1
...@@ -126,7 +126,10 @@ class SchemaProcessor(object): ...@@ -126,7 +126,10 @@ class SchemaProcessor(object):
api_features = self._features_bundle.GetAPIFeatures().Get() api_features = self._features_bundle.GetAPIFeatures().Get()
# We don't want to inline the events API, as it's handled differently # We don't want to inline the events API, as it's handled differently
if schema.get('namespace', '') != 'events': # Also, the webviewTag API is handled differently, as it only exists
# for the purpose of documentation, it's not a true internal api
namespace = schema.get('namespace', '')
if namespace != 'events' and namespace != 'webviewTag':
internal_api = api_features.get(schema.get('namespace', ''), {}).get( internal_api = api_features.get(schema.get('namespace', ''), {}).get(
'internal', False) 'internal', False)
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
// This is not a real API, only here for documentation purposes. // This is not a real API, only here for documentation purposes.
// See http://crbug.com/275944 for background. // See http://crbug.com/275944 for background.
"extensionTypes": { "extensionTypes": {
"internal": true,
"channel": "stable", "channel": "stable",
"extension_types": ["extension", "legacy_packaged_app", "platform_app"], "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
"contexts": ["blessed_extension"] "contexts": ["blessed_extension"]
...@@ -173,6 +174,7 @@ ...@@ -173,6 +174,7 @@
] ]
}], }],
"types": { "types": {
"internal": true,
"channel": "stable", "channel": "stable",
"extension_types": ["extension", "legacy_packaged_app", "platform_app"], "extension_types": ["extension", "legacy_packaged_app", "platform_app"],
"contexts": ["blessed_extension"] "contexts": ["blessed_extension"]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment