Index: chrome/browser/extensions/extension_service.h |
=================================================================== |
--- chrome/browser/extensions/extension_service.h (revision 70913) |
+++ chrome/browser/extensions/extension_service.h (working copy) |
@@ -34,6 +34,7 @@ |
#include "chrome/common/extensions/extension.h" |
#include "chrome/common/property_bag.h" |
+class ExtensionBrowserEventRouter; |
class ExtensionServiceBackend; |
class ExtensionToolbarModel; |
class ExtensionUpdater; |
@@ -410,6 +411,10 @@ |
ExtensionMenuManager* menu_manager() { return &menu_manager_; } |
+ ExtensionBrowserEventRouter* browser_event_router() { |
+ return browser_event_router_.get(); |
+ } |
+ |
const std::map<GURL, int>& protected_storage_map() const { |
return protected_storage_map_; |
} |
@@ -589,6 +594,8 @@ |
// Flag to make sure event routers are only initialized once. |
bool event_routers_initialized_; |
+ scoped_ptr<ExtensionBrowserEventRouter> browser_event_router_; |
+ |
FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
UpdatePendingExtensionAlreadyInstalled); |
FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |