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

Unified Diff: chromecast/shell/browser/cast_browser_main_parts.cc

Issue 598303002: Chromecast: adds CastNetworkDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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 | « chromecast/common/chromecast_switches.cc ('k') | chromecast/shell/browser/cast_network_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/shell/browser/cast_browser_main_parts.cc
diff --git a/chromecast/shell/browser/cast_browser_main_parts.cc b/chromecast/shell/browser/cast_browser_main_parts.cc
index 084cc273f4c52cc45c61fc0592ab9e67da0e5c25..0dbcce602823663a288000e48913fda6d9dbfd28 100644
--- a/chromecast/shell/browser/cast_browser_main_parts.cc
+++ b/chromecast/shell/browser/cast_browser_main_parts.cc
@@ -104,6 +104,9 @@ void CastBrowserMainParts::PreMainMessageLoopRun() {
cast_browser_process_->SetCastService(
CastService::Create(cast_browser_process_->browser_context(),
url_request_context_factory_->GetSystemGetter()));
lcwu1 2014/09/26 22:38:59 Now that I looked at the internal CLs, I think I a
gunsch 2014/09/26 23:03:05 Done.
+
+ // Initializing network delegates must happen after Cast service is created.
+ url_request_context_factory_->InitializeNetworkDelegates();
cast_browser_process_->cast_service()->Start();
}
« no previous file with comments | « chromecast/common/chromecast_switches.cc ('k') | chromecast/shell/browser/cast_network_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698