Index: chrome/browser/extensions/event_router.h |
diff --git a/chrome/browser/extensions/event_router.h b/chrome/browser/extensions/event_router.h |
index 97d2254aded8fe7ae6c5c5dfe5a0fb1e0056c0c7..891f34da40d8ef05f8eafa1670e99d413080aaa9 100644 |
--- a/chrome/browser/extensions/event_router.h |
+++ b/chrome/browser/extensions/event_router.h |
@@ -68,6 +68,8 @@ class EventRouter : public content::NotificationObserver, |
content::RenderProcessHost* process, |
const std::string& extension_id); |
+ EventListenerMap& listeners() { return listeners_; } |
+ |
// Add or remove the extension as having a lazy background page that listens |
// to the event. The difference from the above methods is that these will be |
// remembered even after the process goes away. We use this list to decide |