| 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 048cad4013f12e137166e1d5316904c2c4272e37..c69afddf361d4ba48c9ad4c41ea7651a1a408902 100644
|
| --- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.h
|
| +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.h
|
| @@ -149,10 +149,16 @@ class BeginInstallWithManifestFunction
|
| scoped_ptr<ExtensionInstallPrompt> install_prompt_;
|
| };
|
|
|
| -class CompleteInstallFunction : public SyncExtensionFunction {
|
| +class CompleteInstallFunction
|
| + : public AsyncExtensionFunction,
|
| + public WebstoreInstaller::Delegate {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.completeInstall");
|
|
|
| + // WebstoreInstaller::Delegate:
|
| + virtual void OnExtensionInstallSuccess(const std::string& id) OVERRIDE;
|
| + virtual void OnExtensionInstallFailure(const std::string& id,
|
| + const std::string& error) OVERRIDE;
|
| protected:
|
| virtual ~CompleteInstallFunction() {}
|
|
|
|
|