Index: chrome/browser/extensions/api/preference/preference_api.cc |
diff --git a/chrome/browser/extensions/api/preference/preference_api.cc b/chrome/browser/extensions/api/preference/preference_api.cc |
index 025bf3a80c928ac5d7a3c81689a6f222df86a20e..25008a671babf7d876ca14d265462c6c9cc44272 100644 |
--- a/chrome/browser/extensions/api/preference/preference_api.cc |
+++ b/chrome/browser/extensions/api/preference/preference_api.cc |
@@ -47,6 +47,7 @@ |
#include "extensions/common/error_utils.h" |
#include "extensions/common/permissions/api_permission.h" |
#include "extensions/common/permissions/permissions_data.h" |
+#include "media/media_features.h" |
namespace keys = extensions::preference_api_constants; |
namespace helpers = extensions::preference_helpers; |
@@ -124,7 +125,7 @@ PrefMappingEntry kPrefMapping[] = { |
APIPermission::kPrivacy, APIPermission::kPrivacy}, |
{"translationServiceEnabled", prefs::kEnableTranslate, |
APIPermission::kPrivacy, APIPermission::kPrivacy}, |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
// webRTCMultipleRoutesEnabled and webRTCNonProxiedUdpEnabled have been |
// replaced by webRTCIPHandlingPolicy. Leaving it for backward |
// compatibility. TODO(guoweis): Remove this in M50. |