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

Unified Diff: media/base/media_file_checker_unittest.cc

Issue 2643333002: Convert USE_PROPRIETARY_CODECS to a buildflag header. (Closed)
Patch Set: Created 3 years, 11 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/key_systems.cc ('k') | media/base/mime_util_internal.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_file_checker_unittest.cc
diff --git a/media/base/media_file_checker_unittest.cc b/media/base/media_file_checker_unittest.cc
index 63aad607e967425c72b0afa46cad816dc2565d2f..48325064a6548aab266f57366f8b22b02af9559c 100644
--- a/media/base/media_file_checker_unittest.cc
+++ b/media/base/media_file_checker_unittest.cc
@@ -10,6 +10,7 @@
#include "base/logging.h"
#include "build/build_config.h"
#include "media/base/test_data_util.h"
+#include "media/media_features.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
@@ -37,7 +38,7 @@ TEST(MediaFileCheckerTest, Audio) {
RunMediaFileChecker("sfx.ogg", true);
}
-#if defined(USE_PROPRIETARY_CODECS)
+#if BUILDFLAG(USE_PROPRIETARY_CODECS)
TEST(MediaFileCheckerTest, MP3) {
RunMediaFileChecker("sfx.mp3", true);
}
« no previous file with comments | « media/base/key_systems.cc ('k') | media/base/mime_util_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698