Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5015)

Unified Diff: chrome/browser/extensions/api/webstore_private/webstore_private_api.h

Issue 12089062: Move API functions registrations out of ExtensionFunctionRegistry. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698