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

Unified Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 2517953003: Move enable_webrtc to a buildflag header. (Closed)
Patch Set: Fix 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
Index: chrome/browser/policy/configuration_policy_handler_list_factory.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
index 894c04a548d845cb91eff2265a28fc5c701bbb6c..862c65bd615477f1cb786576b54272f2decd5914 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -51,6 +51,7 @@
#include "components/translate/core/common/translate_pref_names.h"
#include "components/variations/pref_names.h"
#include "extensions/features/features.h"
+#include "media/media_features.h"
#include "ppapi/features/features.h"
#if BUILDFLAG(ANDROID_JAVA_UI)
@@ -411,11 +412,11 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
prefs::kEnableMediaRouter,
base::Value::TYPE_BOOLEAN },
#endif // defined(ENABLE_MEDIA_ROUTER)
-#if defined(ENABLE_WEBRTC)
+#if BUILDFLAG(ENABLE_WEBRTC)
{ key::kWebRtcUdpPortRange,
prefs::kWebRTCUDPPortRange,
base::Value::TYPE_STRING },
-#endif // defined(ENABLE_WEBRTC)
+#endif // BUILDFLAG(ENABLE_WEBRTC)
#if !defined(OS_MACOSX)
{ key::kFullscreenAllowed,
prefs::kFullscreenAllowed,

Powered by Google App Engine
This is Rietveld 408576698