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

Unified Diff: media/base/key_systems_unittest.cc

Issue 2914273004: Add IsSupportedBitstreamAudioCodec() function in MediaClient. (Closed)
Patch Set: Fix one typo 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/media/render_media_client.cc ('k') | media/base/media_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/key_systems_unittest.cc
diff --git a/media/base/key_systems_unittest.cc b/media/base/key_systems_unittest.cc
index 9eea5437dcfd70adf85253fd550bcfd4b2a4cac6..3a5d21bb5e5cb535e8e3e8fbdba1422d0fad156f 100644
--- a/media/base/key_systems_unittest.cc
+++ b/media/base/key_systems_unittest.cc
@@ -228,6 +228,7 @@ class TestMediaClient : public MediaClient {
key_systems_properties) override;
bool IsSupportedAudioConfig(const media::AudioConfig& config) final;
bool IsSupportedVideoConfig(const media::VideoConfig& config) final;
+ bool IsSupportedBitstreamAudioCodec(AudioCodec codec) final;
// Helper function to test the case where IsKeySystemsUpdateNeeded() is true
// after AddSupportedKeySystems() is called.
@@ -273,6 +274,10 @@ bool TestMediaClient::IsSupportedVideoConfig(const media::VideoConfig& config) {
return true;
}
+bool TestMediaClient::IsSupportedBitstreamAudioCodec(AudioCodec codec) {
+ return false;
+}
+
void TestMediaClient::SetKeySystemsUpdateNeeded() {
is_update_needed_ = true;
}
« no previous file with comments | « content/renderer/media/render_media_client.cc ('k') | media/base/media_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698