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

Unified Diff: chrome/browser/extensions/api/permissions/permissions_api.h

Issue 11778097: Revert revision 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/permissions/permissions_api.h
===================================================================
--- chrome/browser/extensions/api/permissions/permissions_api.h (revision 176052)
+++ chrome/browser/extensions/api/permissions/permissions_api.h (working copy)
@@ -15,48 +15,48 @@
class ExtensionService;
// chrome.permissions.contains
-class PermissionsContainsFunction : public SyncExtensionFunction {
+class ContainsPermissionsFunction : public SyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION_NAME("permissions.contains")
protected:
- virtual ~PermissionsContainsFunction() {}
+ virtual ~ContainsPermissionsFunction() {}
// ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
};
// chrome.permissions.getAll
-class PermissionsGetAllFunction : public SyncExtensionFunction {
+class GetAllPermissionsFunction : public SyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION_NAME("permissions.getAll")
protected:
- virtual ~PermissionsGetAllFunction() {}
+ virtual ~GetAllPermissionsFunction() {}
// ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
};
// chrome.permissions.remove
-class PermissionsRemoveFunction : public SyncExtensionFunction {
+class RemovePermissionsFunction : public SyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION_NAME("permissions.remove")
protected:
- virtual ~PermissionsRemoveFunction() {}
+ virtual ~RemovePermissionsFunction() {}
// ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
};
// chrome.permissions.request
-class PermissionsRequestFunction : public AsyncExtensionFunction,
+class RequestPermissionsFunction : public AsyncExtensionFunction,
public ExtensionInstallPrompt::Delegate {
public:
DECLARE_EXTENSION_FUNCTION_NAME("permissions.request")
- PermissionsRequestFunction();
+ RequestPermissionsFunction();
// FOR TESTS ONLY to bypass the confirmation UI.
static void SetAutoConfirmForTests(bool should_proceed);
@@ -67,7 +67,7 @@
virtual void InstallUIAbort(bool user_initiated) OVERRIDE;
protected:
- virtual ~PermissionsRequestFunction();
+ virtual ~RequestPermissionsFunction();
// ExtensionFunction:
virtual bool RunImpl() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698