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

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

Issue 9150016: Move creation and ownership of ResourceDispatcherHost and PluginService to content. This gives a ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix chromeos ui_tests Created 8 years, 11 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 117096)
+++ chrome/browser/extensions/extension_service.cc (working copy)
@@ -564,10 +564,6 @@
DCHECK(!ready_); // Can't redo init.
DCHECK_EQ(extensions_.size(), 0u);
- // Hack: we need to ensure the ResourceDispatcherHost is ready before we load
- // the first extension, because its members listen for loaded notifications.
- g_browser_process->resource_dispatcher_host();
-
component_loader_->LoadAll();
extensions::InstalledLoader(this).LoadAllExtensions();

Powered by Google App Engine
This is Rietveld 408576698