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

Unified Diff: content/browser/browser_main_loop.cc

Issue 2217753004: Move the call to ResourceDispatcherHostCreated from the ctor of the ResourceDispatcherHostImpl clas… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index d7a1f3958a4ac9896d8f6c0289a611d7b7a2bd97..78afa477370332abefb2b68f1921d79be0af7f3f 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -1292,6 +1292,7 @@ int BrowserMainLoop::BrowserThreadsStarted() {
TRACE_EVENT0("startup",
"BrowserMainLoop::BrowserThreadsStarted:InitResourceDispatcherHost");
resource_dispatcher_host_.reset(new ResourceDispatcherHostImpl());
+ GetContentClient()->browser()->ResourceDispatcherHostCreated();
loader_delegate_.reset(new LoaderDelegateImpl());
resource_dispatcher_host_->SetLoaderDelegate(loader_delegate_.get());
« no previous file with comments | « no previous file | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698