Index: chrome/browser/extensions/extension_io_event_router.h |
diff --git a/chrome/browser/extensions/extension_io_event_router.h b/chrome/browser/extensions/extension_io_event_router.h |
index eae207ba1357a9892bc8e1ed0b62def1a3ec197e..dc8abb3d0064443ba72d6ecd804556d456baacb3 100644 |
--- a/chrome/browser/extensions/extension_io_event_router.h |
+++ b/chrome/browser/extensions/extension_io_event_router.h |
@@ -10,6 +10,7 @@ |
#include "base/ref_counted.h" |
+class GURL; |
class Profile; |
// For now, this just forwards events from the IO thread to the |
@@ -29,11 +30,22 @@ class ExtensionIOEventRouter |
const std::string& event_name, |
const std::string& event_args) const; |
+ // Same as above, except the event is send to all extensions that have |
Bernhard Bauer
2011/02/22 13:13:53
Nit: "sent".
|
+ // sufficient permissions. |
+ void DispatchEventToRenderers(const std::string& event_name, |
+ const std::string& event_args, |
+ const GURL& event_url) const; |
+ |
private: |
void DispatchEventOnUIThread(const std::string& extension_id, |
const std::string& event_name, |
const std::string& event_args) const; |
+ void DispatchEventToRenderersOnUIThread( |
+ const std::string& event_name, |
+ const std::string& event_args, |
+ const GURL& event_url) const; |
+ |
Profile* profile_; |
DISALLOW_COPY_AND_ASSIGN(ExtensionIOEventRouter); |