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

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

Issue 10106026: Revert 132589 - Revert 132440 - Allow extension APIs to be compiled out. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 months 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
===================================================================
--- 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;
}

Powered by Google App Engine
This is Rietveld 408576698