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

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

Issue 6598002: Make the ChromeNetworkDelegate use the ExtensionEventRouterForwarder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates 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_event_router_forwarder.h
diff --git a/chrome/browser/extensions/extension_event_router_forwarder.h b/chrome/browser/extensions/extension_event_router_forwarder.h
index 80ae6721e0762008193fa9b3fec05561688e6ae6..e1f048813e0e074696f1a8a94268797fa19de810 100644
--- a/chrome/browser/extensions/extension_event_router_forwarder.h
+++ b/chrome/browser/extensions/extension_event_router_forwarder.h
@@ -11,9 +11,9 @@
#include "base/basictypes.h"
#include "base/ref_counted.h"
#include "chrome/browser/browser_thread.h"
+#include "chrome/browser/profiles/profile.h"
class GURL;
-class Profile;
// This class forwards events to ExtensionEventRouters.
// The advantages of this class over direct usage of ExtensionEventRouters are:
@@ -53,7 +53,7 @@ class ExtensionEventRouterForwarder
// on |profile|'s ExtensionEventRouter. May be called on any thread.
void DispatchEventToRenderers(const std::string& event_name,
const std::string& event_args,
- Profile* profile,
+ ProfileId profile_id,
bool use_profile_to_restrict_events,
const GURL& event_url);
@@ -64,7 +64,7 @@ class ExtensionEventRouterForwarder
void DispatchEventToExtension(const std::string& extension_id,
const std::string& event_name,
const std::string& event_args,
- Profile* profile,
+ ProfileId profile_id,
bool use_profile_to_restrict_events,
const GURL& event_url);
@@ -90,7 +90,7 @@ class ExtensionEventRouterForwarder
void HandleEvent(const std::string& extension_id,
const std::string& event_name,
const std::string& event_args,
- Profile* profile,
+ ProfileId profile_id,
bool use_profile_to_restrict_events,
const GURL& event_url);
« no previous file with comments | « chrome/browser/chromeos/locale_change_guard.cc ('k') | chrome/browser/extensions/extension_event_router_forwarder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698