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

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

Issue 943903002: Pass MediaLog to CreateMediaRendererFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass medialog smart pointer by const reference Created 5 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 (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 "media/base/renderer_factory.h" 7 #include "media/base/renderer_factory.h"
8 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h" 8 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) { 169 bool ContentRendererClient::AllowPepperMediaStreamAPI(const GURL& url) {
170 return false; 170 return false;
171 } 171 }
172 172
173 void ContentRendererClient::AddKeySystems( 173 void ContentRendererClient::AddKeySystems(
174 std::vector<media::KeySystemInfo>* key_systems) { 174 std::vector<media::KeySystemInfo>* key_systems) {
175 } 175 }
176 176
177 scoped_ptr<media::RendererFactory> 177 scoped_ptr<media::RendererFactory>
178 ContentRendererClient::CreateMediaRendererFactory(RenderFrame* render_frame) { 178 ContentRendererClient::CreateMediaRendererFactory(
179 RenderFrame* render_frame,
180 const scoped_refptr<media::MediaLog>& media_log) {
179 return nullptr; 181 return nullptr;
180 } 182 }
181 183
182 bool ContentRendererClient::ShouldReportDetailedMessageForSource( 184 bool ContentRendererClient::ShouldReportDetailedMessageForSource(
183 const base::string16& source) const { 185 const base::string16& source) const {
184 return false; 186 return false;
185 } 187 }
186 188
187 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { 189 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const {
188 return true; 190 return true;
(...skipping 18 matching lines...) Expand all
207 const std::string& mime_type, 209 const std::string& mime_type,
208 const GURL& original_url) { 210 const GURL& original_url) {
209 return nullptr; 211 return nullptr;
210 } 212 }
211 213
212 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { 214 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) {
213 return std::string(); 215 return std::string();
214 } 216 }
215 217
216 } // namespace content 218 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698