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

Side by Side Diff: content/public/renderer/content_renderer_client.cc

Issue 2798623002: Use TaskScheduler::InitParams to initialize TaskScheduler in child processes. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/render_process.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/public/renderer/content_renderer_client.h" 5 #include "content/public/renderer/content_renderer_client.h"
6 6
7 #include "content/public/renderer/media_stream_renderer_factory.h" 7 #include "content/public/renderer/media_stream_renderer_factory.h"
8 #include "media/base/renderer_factory.h" 8 #include "media/base/renderer_factory.h"
9 #include "ui/gfx/icc_profile.h" 9 #include "ui/gfx/icc_profile.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 } 215 }
216 216
217 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { 217 bool ContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() {
218 return true; 218 return true;
219 } 219 }
220 220
221 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) { 221 GURL ContentRendererClient::OverrideFlashEmbedWithHTML(const GURL& url) {
222 return GURL(); 222 return GURL();
223 } 223 }
224 224
225 std::unique_ptr<base::TaskScheduler::InitParams>
226 ContentRendererClient::GetTaskSchedulerInitParams() {
227 return nullptr;
228 }
229
225 bool ContentRendererClient::AllowMediaSuspend() { 230 bool ContentRendererClient::AllowMediaSuspend() {
226 return true; 231 return true;
227 } 232 }
228 233
229 } // namespace content 234 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/render_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698