| Index: chrome/browser/extensions/api/webstore_private/webstore_private_api.h
|
| diff --git a/chrome/browser/extensions/api/webstore_private/webstore_private_api.h b/chrome/browser/extensions/api/webstore_private/webstore_private_api.h
|
| index 7bad7c7a6cf7949ccc7dddee25029334c92c4c50..e61cdb0fef8c4bc3f69864e28c3b7670f79fe59c 100644
|
| --- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.h
|
| +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.h
|
| @@ -8,7 +8,6 @@
|
| #include <string>
|
|
|
| #include "chrome/browser/extensions/active_install_data.h"
|
| -#include "chrome/browser/extensions/bundle_installer.h"
|
| #include "chrome/browser/extensions/chrome_extension_function.h"
|
| #include "chrome/browser/extensions/extension_install_prompt.h"
|
| #include "chrome/browser/extensions/webstore_install_helper.h"
|
| @@ -44,35 +43,6 @@ class WebstorePrivateApi {
|
| Profile* profile, const std::string& extension_id);
|
| };
|
|
|
| -class WebstorePrivateInstallBundleFunction
|
| - : public ChromeAsyncExtensionFunction,
|
| - public extensions::BundleInstaller::Delegate {
|
| - public:
|
| - DECLARE_EXTENSION_FUNCTION("webstorePrivate.installBundle",
|
| - WEBSTOREPRIVATE_INSTALLBUNDLE)
|
| -
|
| - WebstorePrivateInstallBundleFunction();
|
| -
|
| - // BundleInstaller::Delegate:
|
| - void OnBundleInstallApproved() override;
|
| - void OnBundleInstallCanceled(bool user_initiated) override;
|
| - void OnBundleInstallCompleted() override;
|
| -
|
| - protected:
|
| - ~WebstorePrivateInstallBundleFunction() override;
|
| -
|
| - // ExtensionFunction:
|
| - bool RunAsync() override;
|
| -
|
| - // Reads the extension |details| into |items|.
|
| - bool ReadBundleInfo(
|
| - const api::webstore_private::InstallBundle::Params& details,
|
| - extensions::BundleInstaller::ItemList* items);
|
| -
|
| - private:
|
| - scoped_refptr<extensions::BundleInstaller> bundle_;
|
| -};
|
| -
|
| class WebstorePrivateBeginInstallWithManifest3Function
|
| : public ChromeAsyncExtensionFunction,
|
| public ExtensionInstallPrompt::Delegate,
|
|
|