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

Unified Diff: media/base/media_switches.h

Issue 2512563003: Convert enable_plugins to a buildflag header. (Closed)
Patch Set: Merge Created 4 years, 1 month 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/mac/BUILD.gn ('k') | media/base/media_switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_switches.h
diff --git a/media/base/media_switches.h b/media/base/media_switches.h
index f7a2dba6af4b9a277f6e16d31976173226ab1398..13f8bfe9f9770f2ba2df3e88f96783c871972681 100644
--- a/media/base/media_switches.h
+++ b/media/base/media_switches.h
@@ -10,6 +10,7 @@
#include "base/feature_list.h"
#include "build/build_config.h"
#include "media/base/media_export.h"
+#include "ppapi/features/features.h"
namespace switches {
@@ -43,13 +44,13 @@ MEDIA_EXPORT extern const char kWaveOutBuffers[];
MEDIA_EXPORT extern const char kUseCras[];
#endif
-#if !defined(OS_ANDROID) || defined(ENABLE_PLUGINS)
+#if !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS)
MEDIA_EXPORT extern const char kEnableDefaultMediaSession[];
-#endif // !defined(OS_ANDROID) || defined(ENABLE_PLUGINS)
+#endif // !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS)
-#if defined(ENABLE_PLUGINS)
+#if BUILDFLAG(ENABLE_PLUGINS)
MEDIA_EXPORT extern const char kEnableDefaultMediaSessionDuckFlash[];
-#endif // defined(ENABLE_PLUGINS)
+#endif // BUILDFLAG(ENABLE_PLUGINS)
MEDIA_EXPORT extern const char kUseFakeDeviceForMediaStream[];
MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[];
« no previous file with comments | « media/base/mac/BUILD.gn ('k') | media/base/media_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698