OLD | NEW |
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 "third_party/WebKit/public/platform/WebAudioDevice.h" | 9 #include "third_party/WebKit/public/platform/WebAudioDevice.h" |
10 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" | 10 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 // Defer to media's default support. | 187 // Defer to media's default support. |
188 return ::media::IsSupportedAudioConfig(config); | 188 return ::media::IsSupportedAudioConfig(config); |
189 } | 189 } |
190 | 190 |
191 bool ContentRendererClient::IsSupportedVideoConfig( | 191 bool ContentRendererClient::IsSupportedVideoConfig( |
192 const media::VideoConfig& config) { | 192 const media::VideoConfig& config) { |
193 // Defer to media's default support. | 193 // Defer to media's default support. |
194 return ::media::IsSupportedVideoConfig(config); | 194 return ::media::IsSupportedVideoConfig(config); |
195 } | 195 } |
196 | 196 |
| 197 bool ContentRendererClient::IsSupportedBitstreamAudioCodec( |
| 198 media::AudioCodec codec) { |
| 199 return false; |
| 200 } |
| 201 |
197 std::unique_ptr<MediaStreamRendererFactory> | 202 std::unique_ptr<MediaStreamRendererFactory> |
198 ContentRendererClient::CreateMediaStreamRendererFactory() { | 203 ContentRendererClient::CreateMediaStreamRendererFactory() { |
199 return nullptr; | 204 return nullptr; |
200 } | 205 } |
201 | 206 |
202 bool ContentRendererClient::ShouldReportDetailedMessageForSource( | 207 bool ContentRendererClient::ShouldReportDetailedMessageForSource( |
203 const base::string16& source) const { | 208 const base::string16& source) const { |
204 return false; | 209 return false; |
205 } | 210 } |
206 | 211 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 std::unique_ptr<base::TaskScheduler::InitParams> | 250 std::unique_ptr<base::TaskScheduler::InitParams> |
246 ContentRendererClient::GetTaskSchedulerInitParams() { | 251 ContentRendererClient::GetTaskSchedulerInitParams() { |
247 return nullptr; | 252 return nullptr; |
248 } | 253 } |
249 | 254 |
250 bool ContentRendererClient::AllowMediaSuspend() { | 255 bool ContentRendererClient::AllowMediaSuspend() { |
251 return true; | 256 return true; |
252 } | 257 } |
253 | 258 |
254 } // namespace content | 259 } // namespace content |
OLD | NEW |