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

Side by Side Diff: chromecast/browser/cast_content_browser_client.cc

Issue 2656283002: [Chromecast] Enable QUIC for Chromecast. (Closed)
Patch Set: fix round 1 of comments Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromecast/browser/cast_content_browser_client.h" 5 #include "chromecast/browser/cast_content_browser_client.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } 123 }
124 } 124 }
125 125
126 void CastContentBrowserClient::PreCreateThreads() { 126 void CastContentBrowserClient::PreCreateThreads() {
127 } 127 }
128 128
129 std::unique_ptr<CastService> CastContentBrowserClient::CreateCastService( 129 std::unique_ptr<CastService> CastContentBrowserClient::CreateCastService(
130 content::BrowserContext* browser_context, 130 content::BrowserContext* browser_context,
131 PrefService* pref_service, 131 PrefService* pref_service,
132 net::URLRequestContextGetter* request_context_getter, 132 net::URLRequestContextGetter* request_context_getter,
133 DisableQuicClosure disable_quic_closure,
133 media::VideoPlaneController* video_plane_controller, 134 media::VideoPlaneController* video_plane_controller,
134 CastWindowManager* window_manager) { 135 CastWindowManager* window_manager) {
135 return base::MakeUnique<CastServiceSimple>(browser_context, pref_service, 136 return base::MakeUnique<CastServiceSimple>(browser_context, pref_service,
136 window_manager); 137 window_manager);
137 } 138 }
138 139
139 #if !defined(OS_ANDROID) 140 #if !defined(OS_ANDROID)
140 media::VideoResolutionPolicy* 141 media::VideoResolutionPolicy*
141 CastContentBrowserClient::GetVideoResolutionPolicy() { 142 CastContentBrowserClient::GetVideoResolutionPolicy() {
142 return nullptr; 143 return nullptr;
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 process_type, dumps_path, false /* upload */); 526 process_type, dumps_path, false /* upload */);
526 // StartUploaderThread() even though upload is diferred. 527 // StartUploaderThread() even though upload is diferred.
527 // Breakpad-related memory is freed in the uploader thread. 528 // Breakpad-related memory is freed in the uploader thread.
528 crash_handler->StartUploaderThread(); 529 crash_handler->StartUploaderThread();
529 return crash_handler; 530 return crash_handler;
530 } 531 }
531 #endif // !defined(OS_ANDROID) 532 #endif // !defined(OS_ANDROID)
532 533
533 } // namespace shell 534 } // namespace shell
534 } // namespace chromecast 535 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/browser/cast_content_browser_client.h ('k') | chromecast/browser/url_request_context_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698