Index: chrome/browser/extensions/extension_service.cc |
=================================================================== |
--- chrome/browser/extensions/extension_service.cc (revision 132590) |
+++ chrome/browser/extensions/extension_service.cc (working copy) |
@@ -535,6 +535,7 @@ |
if (event_routers_initialized_) |
return; |
+#if defined(ENABLE_EXTENSIONS) |
downloads_event_router_.reset(new ExtensionDownloadsEventRouter(profile_)); |
history_event_router_.reset(new HistoryExtensionEventRouter()); |
history_event_router_->ObserveProfile(profile_); |
@@ -574,6 +575,7 @@ |
ExtensionInputUiEventRouter::GetInstance()->Init(); |
#endif |
+#endif // defined(ENABLE_EXTENSIONS) |
event_routers_initialized_ = true; |
} |