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

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
« no previous file with comments | « chrome/browser/extensions/extension_service.h ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index 25e5d09d3809fa4e1d5a88a9456d41e596d8be04..25eeeece258f54013a6fe8f24eebe87e224f3447 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -549,6 +549,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.
« no previous file with comments | « chrome/browser/extensions/extension_service.h ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698