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

Unified Diff: media/base/key_system_properties.cc

Issue 2409423002: Move ENABLE_PEPPER_CDMS to a buildflag header. (Closed)
Patch Set: Fix and format Created 4 years, 2 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/android/BUILD.gn ('k') | media/base/key_systems.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/key_system_properties.cc
diff --git a/media/base/key_system_properties.cc b/media/base/key_system_properties.cc
index 05b59cdd17dfa6bfae79f67ded342a13f25e4aff..5c6bcb568a8a948bfea1005b7a2f1d240e56746e 100644
--- a/media/base/key_system_properties.cc
+++ b/media/base/key_system_properties.cc
@@ -5,6 +5,7 @@
#include "media/base/key_system_properties.h"
#include "base/logging.h"
+#include "ppapi/features/features.h"
namespace media {
@@ -20,7 +21,7 @@ bool KeySystemProperties::UseAesDecryptor() const {
}
std::string KeySystemProperties::GetPepperType() const {
-#if !defined(ENABLE_PEPPER_CDMS)
+#if !BUILDFLAG(ENABLE_PEPPER_CDMS)
NOTREACHED();
#endif
return "";
« no previous file with comments | « media/base/android/BUILD.gn ('k') | media/base/key_systems.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698