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

Unified Diff: components/cdm/renderer/external_clear_key_key_system_properties.h

Issue 2411433002: Move ENABLE_PEPPER_CDMS to a buildflag header. (Closed)
Patch Set: Fixes 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
Index: components/cdm/renderer/external_clear_key_key_system_properties.h
diff --git a/components/cdm/renderer/external_clear_key_key_system_properties.h b/components/cdm/renderer/external_clear_key_key_system_properties.h
index d0ed06fd875505452bb5b4c943734316c1dfa665..9b50b1a98e881bdc50ab80ab57eaa5c4d124f3d8 100644
--- a/components/cdm/renderer/external_clear_key_key_system_properties.h
+++ b/components/cdm/renderer/external_clear_key_key_system_properties.h
@@ -9,10 +9,11 @@
#include "build/build_config.h"
#include "media/base/key_system_properties.h"
+#include "ppapi/features/features.h"
namespace cdm {
-#if defined(ENABLE_PEPPER_CDMS)
+#if BUILDFLAG(ENABLE_PEPPER_CDMS)
extern const char kExternalClearKeyPepperType[];
#endif
@@ -35,7 +36,7 @@ class ExternalClearKeyProperties : public media::KeySystemProperties {
const override;
media::EmeFeatureSupport GetPersistentStateSupport() const override;
media::EmeFeatureSupport GetDistinctiveIdentifierSupport() const override;
-#if defined(ENABLE_PEPPER_CDMS)
+#if BUILDFLAG(ENABLE_PEPPER_CDMS)
std::string GetPepperType() const override;
#endif
« no previous file with comments | « components/cdm/renderer/BUILD.gn ('k') | components/cdm/renderer/external_clear_key_key_system_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698