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

Unified Diff: chrome/browser/extensions/api/web_request/web_request_api.h

Issue 228343002: Cleanup webRequest/Internal API and permission registration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 6 years, 8 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/web_request/web_request_api.h
diff --git a/chrome/browser/extensions/api/web_request/web_request_api.h b/chrome/browser/extensions/api/web_request/web_request_api.h
index c3bf24c6d046339ef86be84a69462474b551c5a6..227d46b396918e4108837d8a4a24b0348af090ef 100644
--- a/chrome/browser/extensions/api/web_request/web_request_api.h
+++ b/chrome/browser/extensions/api/web_request/web_request_api.h
@@ -467,25 +467,27 @@ class ExtensionWebRequestEventRouter
DISALLOW_COPY_AND_ASSIGN(ExtensionWebRequestEventRouter);
};
-class WebRequestAddEventListener : public SyncIOThreadExtensionFunction {
+class WebRequestInternalAddEventListenerFunction
+ : public SyncIOThreadExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("webRequestInternal.addEventListener",
WEBREQUESTINTERNAL_ADDEVENTLISTENER)
protected:
- virtual ~WebRequestAddEventListener() {}
+ virtual ~WebRequestInternalAddEventListenerFunction() {}
// ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
};
-class WebRequestEventHandled : public SyncIOThreadExtensionFunction {
+class WebRequestInternalEventHandledFunction
+ : public SyncIOThreadExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION("webRequestInternal.eventHandled",
WEBREQUESTINTERNAL_EVENTHANDLED)
protected:
- virtual ~WebRequestEventHandled() {}
+ virtual ~WebRequestInternalEventHandledFunction() {}
// Unblocks the network request and sets |error_| such that the developer
// console will show the respective error message. Use this function to handle

Powered by Google App Engine
This is Rietveld 408576698