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

Unified Diff: chrome/browser/extensions/extension_webrequest_api.h

Issue 6598002: Make the ChromeNetworkDelegate use the ExtensionEventRouterForwarder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/extension_webrequest_api.h
diff --git a/chrome/browser/extensions/extension_webrequest_api.h b/chrome/browser/extensions/extension_webrequest_api.h
index 27fb5cb19b62186e69066c0c6b96ad5fd1035b63..6d93795c657b806a991c0ac85bdd46ea316912c9 100644
--- a/chrome/browser/extensions/extension_webrequest_api.h
+++ b/chrome/browser/extensions/extension_webrequest_api.h
@@ -15,8 +15,9 @@
#include "ipc/ipc_message.h"
#include "chrome/browser/extensions/extension_function.h"
-class ExtensionIOEventRouter;
+class ExtensionEventRouterForwarder;
class GURL;
+class Profile;
// This class observes network events and routes them to the appropriate
// extensions listening to those events. All methods must be called on the IO
@@ -36,7 +37,8 @@ class ExtensionWebRequestEventRouter {
// TODO(mpcomplete): additional params
void OnBeforeRequest(
- const ExtensionIOEventRouter* event_router,
+ ExtensionEventRouterForwarder* event_router,
+ Profile* profile,
const GURL& url,
const std::string& method);

Powered by Google App Engine
This is Rietveld 408576698