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

Unified Diff: media/base/media.cc

Issue 2926393002: Enable vp09 codec string in WebM by default (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/media.h ('k') | media/base/media_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media.cc
diff --git a/media/base/media.cc b/media/base/media.cc
index 82cff856b7d2c03a3aade3075130f8918f42d626..77720b44a0a24255d10808980b8cbe6e1ebd667c 100644
--- a/media/base/media.cc
+++ b/media/base/media.cc
@@ -57,14 +57,6 @@ class MediaInitializer {
}
#endif // defined(OS_ANDROID)
- void enable_new_vp9_codec_string_support(bool enable) {
- has_new_vp9_codec_string_support_ = enable;
- }
-
- bool has_new_vp9_codec_string_support() {
- return has_new_vp9_codec_string_support_;
- }
-
private:
~MediaInitializer() = delete;
@@ -72,8 +64,6 @@ class MediaInitializer {
bool has_platform_decoder_support_ = false;
#endif // defined(OS_ANDROID)
- bool has_new_vp9_codec_string_support_ = false;
-
DISALLOW_COPY_AND_ASSIGN(MediaInitializer);
};
@@ -100,16 +90,4 @@ bool PlatformHasOpusSupport() {
}
#endif // defined(OS_ANDROID)
-void EnableNewVp9CodecStringSupport() {
- GetMediaInstance()->enable_new_vp9_codec_string_support(true);
-}
-
-void DisableNewVp9CodecStringSupport_ForTesting() {
- GetMediaInstance()->enable_new_vp9_codec_string_support(false);
-}
-
-bool HasNewVp9CodecStringSupport() {
- return GetMediaInstance()->has_new_vp9_codec_string_support();
-}
-
} // namespace media
« no previous file with comments | « media/base/media.h ('k') | media/base/media_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698