Add _api_features.json for chrome.shell API
commitb061bf39f06c0d951b39fe990081543ab97445e0
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 2 May 2014 09:47:42 +0000 (2 09:47 +0000)
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 2 May 2014 09:47:42 +0000 (2 09:47 +0000)
treef709f8bfe4a5927b4214bc03ef71616865bfe855
parent15c102925855ae00adb25cde896aad00758357fd
Add _api_features.json for chrome.shell API

The chrome.shell API is only available in app_shell, so it should not be part
of the common extensions _api_features.json.

This fixes a CHECK failure in the renderer when loading the Calculator sample
app, which tests for the existence of chrome.shell.  (The schema is not
available, because the API is only implemented in app_shell, but chrome.shell
returns true because the "shell" is in the shared extensions _api_features.json.)

BUG=369318
TEST=manual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267776 0039d316-1c4b-4281-b951-d872f2087c98
apps/shell/app_shell_resources.grd
apps/shell/common/api/_api_features.json [new file with mode: 0644]
apps/shell/common/shell_extensions_client.cc
extensions/common/api/_api_features.json