Index: chrome/browser/extensions/extension_service.cc |
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc |
index 9442e65cc7ef42bd1dc9aaeb1dd80b9d90748062..c18939629023a8479c2f0d9d13b267cc74dc97c0 100644 |
--- a/chrome/browser/extensions/extension_service.cc |
+++ b/chrome/browser/extensions/extension_service.cc |
@@ -554,6 +554,18 @@ void ExtensionService::InitEventRouters() { |
event_routers_initialized_ = true; |
} |
+void ExtensionService::NotifyExtensionEventRoutersOnListenerAdded( |
+ const std::string& event_name) { |
+ if (bluetooth_event_router_.get()) |
+ bluetooth_event_router_->OnEventListenerAdded(event_name); |
+} |
+ |
+void ExtensionService::NotifyExtensionEventRoutersOnListenerRemoved( |
+ const std::string& event_name) { |
+ if (bluetooth_event_router_.get()) |
+ bluetooth_event_router_->OnEventListenerRemoved(event_name); |
+} |
+ |
void ExtensionService::OnProfileSyncServiceShutdown() { |
// TODO(akalin): Move this block to Shutdown() once |
// http://crbug.com/153827 is fixed. |