diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-09 17:33:18 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-09 17:33:18 +0000 |
commit | dd9d627a45031a4fe8414e79253e82fdfac7132c (patch) | |
tree | a049ade38464deffdc606ee3dec8607122e2354b /chrome/browser/extensions/extension_management_api.h | |
parent | 422a0b90cbcd884221d3fabac3507dd964e5a064 (diff) | |
download | chromium_src-dd9d627a45031a4fe8414e79253e82fdfac7132c.zip chromium_src-dd9d627a45031a4fe8414e79253e82fdfac7132c.tar.gz chromium_src-dd9d627a45031a4fe8414e79253e82fdfac7132c.tar.bz2 |
Implement gallery install API
This patch implements chrome.experimental.management.install() which is only available for use by the web store. Calling with an extensionId, causes the download url to be constructed internally and downloaded and then cause the installation to bypass the normal permissions dialog.
BUG=27431,54148
Review URL: http://codereview.chromium.org/3353015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_management_api.h')
-rw-r--r-- | chrome/browser/extensions/extension_management_api.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/extensions/extension_management_api.h b/chrome/browser/extensions/extension_management_api.h index 9d3108d..841baea 100644 --- a/chrome/browser/extensions/extension_management_api.h +++ b/chrome/browser/extensions/extension_management_api.h @@ -30,12 +30,6 @@ class SetEnabledFunction : public ExtensionManagementFunction { DECLARE_EXTENSION_FUNCTION_NAME("experimental.management.setEnabled"); }; -class InstallFunction : public ExtensionManagementFunction { - ~InstallFunction() {} - virtual bool RunImpl(); - DECLARE_EXTENSION_FUNCTION_NAME("experimental.management.install"); -}; - class UninstallFunction : public ExtensionManagementFunction { ~UninstallFunction() {} virtual bool RunImpl(); |