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

Unified Diff: media/base/media.cc

Issue 2917463002: Enable vp09 codec string in WebM by default (Closed)
Patch Set: Rebase (depends-on patch landed), browser_test tweaks 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 e058b6a15dcf2ce3721f4bbd3778aacf520ce685..133044a21065ac2209803d212dc11c50c5793ad6 100644
--- a/media/base/media.cc
+++ b/media/base/media.cc
@@ -58,14 +58,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;
@@ -73,8 +65,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);
};
@@ -101,16 +91,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