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

Unified Diff: chrome/browser/extensions/api/management/management_api.h

Issue 11826048: Revert 176015 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/management/management_api.h
===================================================================
--- chrome/browser/extensions/api/management/management_api.h (revision 176046)
+++ chrome/browser/extensions/api/management/management_api.h (working copy)
@@ -34,41 +34,40 @@
ExtensionService* service();
};
-class ManagementGetAllFunction : public ManagementFunction {
+class GetAllExtensionsFunction : public ManagementFunction {
public:
DECLARE_EXTENSION_FUNCTION_NAME("management.getAll");
protected:
- virtual ~ManagementGetAllFunction() {}
+ virtual ~GetAllExtensionsFunction() {}
// ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
};
-class ManagementGetFunction : public ManagementFunction {
+class GetExtensionByIdFunction : public ManagementFunction {
public:
DECLARE_EXTENSION_FUNCTION_NAME("management.get");
protected:
- virtual ~ManagementGetFunction() {}
+ virtual ~GetExtensionByIdFunction() {}
// ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
};
-class ManagementGetPermissionWarningsByIdFunction : public ManagementFunction {
+class GetPermissionWarningsByIdFunction : public ManagementFunction {
public:
DECLARE_EXTENSION_FUNCTION_NAME("management.getPermissionWarningsById");
protected:
- virtual ~ManagementGetPermissionWarningsByIdFunction() {}
+ virtual ~GetPermissionWarningsByIdFunction() {}
// ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
};
-class ManagementGetPermissionWarningsByManifestFunction
- : public AsyncExtensionFunction {
+class GetPermissionWarningsByManifestFunction : public AsyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION_NAME(
"management.getPermissionWarningsByManifest");
@@ -78,32 +77,32 @@
void OnParseFailure(const std::string& error);
protected:
- virtual ~ManagementGetPermissionWarningsByManifestFunction() {}
+ virtual ~GetPermissionWarningsByManifestFunction() {}
// ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
};
-class ManagementLaunchAppFunction : public ManagementFunction {
+class LaunchAppFunction : public ManagementFunction {
public:
DECLARE_EXTENSION_FUNCTION_NAME("management.launchApp");
protected:
- virtual ~ManagementLaunchAppFunction() {}
+ virtual ~LaunchAppFunction() {}
// ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
};
-class ManagementSetEnabledFunction : public AsyncManagementFunction,
+class SetEnabledFunction : public AsyncManagementFunction,
public ExtensionInstallPrompt::Delegate {
public:
DECLARE_EXTENSION_FUNCTION_NAME("management.setEnabled");
- ManagementSetEnabledFunction();
+ SetEnabledFunction();
protected:
- virtual ~ManagementSetEnabledFunction();
+ virtual ~SetEnabledFunction();
// ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
@@ -119,12 +118,12 @@
scoped_ptr<ExtensionInstallPrompt> install_prompt_;
};
-class ManagementUninstallFunction : public AsyncManagementFunction,
+class UninstallFunction : public AsyncManagementFunction,
public ExtensionUninstallDialog::Delegate {
public:
DECLARE_EXTENSION_FUNCTION_NAME("management.uninstall");
- ManagementUninstallFunction();
+ UninstallFunction();
static void SetAutoConfirmForTest(bool should_proceed);
// ExtensionUninstallDialog::Delegate implementation.
@@ -132,7 +131,7 @@
virtual void ExtensionUninstallCanceled() OVERRIDE;
private:
- virtual ~ManagementUninstallFunction();
+ virtual ~UninstallFunction();
virtual bool RunImpl() OVERRIDE;
« no previous file with comments | « chrome/browser/extensions/api/i18n/i18n_api.cc ('k') | chrome/browser/extensions/api/management/management_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698