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

Unified Diff: chromecast/browser/cast_browser_main_parts.cc

Issue 2656283002: [Chromecast] Enable QUIC for Chromecast. (Closed)
Patch Set: fix round 1 of comments Created 3 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
« no previous file with comments | « no previous file | chromecast/browser/cast_content_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_browser_main_parts.cc
diff --git a/chromecast/browser/cast_browser_main_parts.cc b/chromecast/browser/cast_browser_main_parts.cc
index d4046c2a97254423f95e77d573ec0f07393fb75c..8faf8dafde00b68d63b7b8c35f63801959419b83 100644
--- a/chromecast/browser/cast_browser_main_parts.cc
+++ b/chromecast/browser/cast_browser_main_parts.cc
@@ -479,6 +479,11 @@ void CastBrowserMainParts::PreMainMessageLoopRun() {
cast_browser_process_->browser_context(),
cast_browser_process_->pref_service(),
url_request_context_factory_->GetSystemGetter(),
+ base::BindOnce(&URLRequestContextFactory::DisableQuic,
+ // Safe since |url_request_context_factory_| is owned
+ // by CastContentBrowserClient, which lives for the
+ // entire lifetime of cast_shell.
+ base::Unretained(url_request_context_factory_)),
video_plane_controller_.get(), window_manager_.get()));
cast_browser_process_->cast_service()->Initialize();
« no previous file with comments | « no previous file | chromecast/browser/cast_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698