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

Unified Diff: chrome/browser/extensions/extension_service.cc

Issue 11369055: Delayed adding BluetoothEventRouter as BluetoothAdapter observer until when the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed BluetoothApiTest Created 8 years, 1 month 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_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index 089ec355d553224f821f873e71241cfb8dd2d8fc..3bece7c3c442717f5e9cf57cabecce440327208d 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -558,6 +558,11 @@ void ExtensionService::InitEventRouters() {
event_routers_initialized_ = true;
}
+void ExtensionService::NotifyExtensionEventRouters(
+ const std::string& event_name) {
+ bluetooth_event_router_->OnEventListenerAdded(event_name);
+}
+
void ExtensionService::OnProfileSyncServiceShutdown() {
// TODO(akalin): Move this block to Shutdown() once
// http://crbug.com/153827 is fixed.

Powered by Google App Engine
This is Rietveld 408576698