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

Side by Side Diff: content/renderer/media/render_media_client.cc

Issue 2914273004: Add IsSupportedBitstreamAudioCodec() function in MediaClient. (Closed)
Patch Set: Created 3 years, 6 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 "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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698