| OLD | NEW |
| 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 "content/renderer/media/render_media_client.h" | 5 #include "content/renderer/media/render_media_client.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/time/default_tick_clock.h" | 9 #include "base/time/default_tick_clock.h" |
| 10 #include "content/public/common/content_client.h" | 10 #include "content/public/common/content_client.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 bool RenderMediaClient::IsSupportedAudioConfig( | 37 bool RenderMediaClient::IsSupportedAudioConfig( |
| 38 const media::AudioConfig& config) { | 38 const media::AudioConfig& config) { |
| 39 return GetContentClient()->renderer()->IsSupportedAudioConfig(config); | 39 return GetContentClient()->renderer()->IsSupportedAudioConfig(config); |
| 40 } | 40 } |
| 41 | 41 |
| 42 bool RenderMediaClient::IsSupportedVideoConfig( | 42 bool RenderMediaClient::IsSupportedVideoConfig( |
| 43 const media::VideoConfig& config) { | 43 const media::VideoConfig& config) { |
| 44 return GetContentClient()->renderer()->IsSupportedVideoConfig(config); | 44 return GetContentClient()->renderer()->IsSupportedVideoConfig(config); |
| 45 } | 45 } |
| 46 | 46 |
| 47 bool RenderMediaClient::IsSupportedBitstreamAudio(media::AudioCodec codec) { |
| 48 return GetContentClient()->renderer()->IsSupportedBitstreamAudio(codec); |
| 49 } |
| 50 |
| 47 } // namespace content | 51 } // namespace content |
| OLD | NEW |