| Index: chrome/browser/extensions/api/webstore_private/webstore_private_api.h
|
| ===================================================================
|
| --- chrome/browser/extensions/api/webstore_private/webstore_private_api.h (revision 179687)
|
| +++ chrome/browser/extensions/api/webstore_private/webstore_private_api.h (working copy)
|
| @@ -40,13 +40,13 @@
|
| Profile* profile, const std::string& extension_id);
|
| };
|
|
|
| -class InstallBundleFunction : public AsyncExtensionFunction,
|
| +class WebstorePrivateInstallBundleFunction : public AsyncExtensionFunction,
|
| public extensions::BundleInstaller::Delegate {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION("webstorePrivate.installBundle",
|
| WEBSTOREPRIVATE_INSTALLBUNDLE)
|
|
|
| - InstallBundleFunction();
|
| + WebstorePrivateInstallBundleFunction();
|
|
|
| // BundleInstaller::Delegate:
|
| virtual void OnBundleInstallApproved() OVERRIDE;
|
| @@ -54,7 +54,7 @@
|
| virtual void OnBundleInstallCompleted() OVERRIDE;
|
|
|
| protected:
|
| - virtual ~InstallBundleFunction();
|
| + virtual ~WebstorePrivateInstallBundleFunction();
|
|
|
| // ExtensionFunction:
|
| virtual bool RunImpl() OVERRIDE;
|
| @@ -67,7 +67,7 @@
|
| scoped_refptr<extensions::BundleInstaller> bundle_;
|
| };
|
|
|
| -class BeginInstallWithManifestFunction
|
| +class WebstorePrivateBeginInstallWithManifest3Function
|
| : public AsyncExtensionFunction,
|
| public ExtensionInstallPrompt::Delegate,
|
| public WebstoreInstallHelper::Delegate {
|
| @@ -103,7 +103,7 @@
|
| INVALID_ICON_URL
|
| };
|
|
|
| - BeginInstallWithManifestFunction();
|
| + WebstorePrivateBeginInstallWithManifest3Function();
|
|
|
| // WebstoreInstallHelper::Delegate:
|
| virtual void OnWebstoreParseSuccess(
|
| @@ -120,7 +120,7 @@
|
| virtual void InstallUIAbort(bool user_initiated) OVERRIDE;
|
|
|
| protected:
|
| - virtual ~BeginInstallWithManifestFunction();
|
| + virtual ~WebstorePrivateBeginInstallWithManifest3Function();
|
|
|
| // ExtensionFunction:
|
| virtual bool RunImpl() OVERRIDE;
|
| @@ -148,7 +148,7 @@
|
| scoped_ptr<ExtensionInstallPrompt> install_prompt_;
|
| };
|
|
|
| -class CompleteInstallFunction
|
| +class WebstorePrivateCompleteInstallFunction
|
| : public AsyncExtensionFunction,
|
| public WebstoreInstaller::Delegate {
|
| public:
|
| @@ -162,57 +162,57 @@
|
| const std::string& error,
|
| WebstoreInstaller::FailureReason reason) OVERRIDE;
|
| protected:
|
| - virtual ~CompleteInstallFunction() {}
|
| + virtual ~WebstorePrivateCompleteInstallFunction() {}
|
|
|
| // ExtensionFunction:
|
| virtual bool RunImpl() OVERRIDE;
|
| };
|
|
|
| -class GetBrowserLoginFunction : public SyncExtensionFunction {
|
| +class WebstorePrivateGetBrowserLoginFunction : public SyncExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION("webstorePrivate.getBrowserLogin",
|
| WEBSTOREPRIVATE_GETBROWSERLOGIN)
|
|
|
| protected:
|
| - virtual ~GetBrowserLoginFunction() {}
|
| + virtual ~WebstorePrivateGetBrowserLoginFunction() {}
|
|
|
| // ExtensionFunction:
|
| virtual bool RunImpl() OVERRIDE;
|
| };
|
|
|
| -class GetStoreLoginFunction : public SyncExtensionFunction {
|
| +class WebstorePrivateGetStoreLoginFunction : public SyncExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION("webstorePrivate.getStoreLogin",
|
| WEBSTOREPRIVATE_GETSTORELOGIN)
|
|
|
| protected:
|
| - virtual ~GetStoreLoginFunction() {}
|
| + virtual ~WebstorePrivateGetStoreLoginFunction() {}
|
|
|
| // ExtensionFunction:
|
| virtual bool RunImpl() OVERRIDE;
|
| };
|
|
|
| -class SetStoreLoginFunction : public SyncExtensionFunction {
|
| +class WebstorePrivateSetStoreLoginFunction : public SyncExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION("webstorePrivate.setStoreLogin",
|
| WEBSTOREPRIVATE_SETSTORELOGIN)
|
|
|
| protected:
|
| - virtual ~SetStoreLoginFunction() {}
|
| + virtual ~WebstorePrivateSetStoreLoginFunction() {}
|
|
|
| // ExtensionFunction:
|
| virtual bool RunImpl() OVERRIDE;
|
| };
|
|
|
| -class GetWebGLStatusFunction : public AsyncExtensionFunction {
|
| +class WebstorePrivateGetWebGLStatusFunction : public AsyncExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION("webstorePrivate.getWebGLStatus",
|
| WEBSTOREPRIVATE_GETWEBGLSTATUS)
|
|
|
| - GetWebGLStatusFunction();
|
| + WebstorePrivateGetWebGLStatusFunction();
|
|
|
| protected:
|
| - virtual ~GetWebGLStatusFunction();
|
| + virtual ~WebstorePrivateGetWebGLStatusFunction();
|
|
|
| void OnFeatureCheck(bool feature_allowed);
|
|
|
|
|