| Index: chrome/browser/policy/policy_browsertest.cc
|
| diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
|
| index ff9bdf7ccc147d8c4b9e143bb20ab930a92fe5b5..2ceb5703c260c3c16283715eba0a09e80865fbfd 100644
|
| --- a/chrome/browser/policy/policy_browsertest.cc
|
| +++ b/chrome/browser/policy/policy_browsertest.cc
|
| @@ -168,6 +168,7 @@
|
| #include "extensions/common/extension_set.h"
|
| #include "extensions/common/features/feature_channel.h"
|
| #include "extensions/common/manifest_handlers/shared_module_info.h"
|
| +#include "media/media_features.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/base/url_util.h"
|
| #include "net/http/http_stream_factory.h"
|
| @@ -278,7 +279,7 @@ const base::FilePath::CharType kUnpackedFullscreenAppName[] =
|
| FILE_PATH_LITERAL("fullscreen_app");
|
| #endif // !defined(OS_MACOSX)
|
|
|
| -#if defined(ENABLE_WEBRTC)
|
| +#if BUILDFLAG(ENABLE_WEBRTC)
|
| // Arbitrary port range for testing the WebRTC UDP port policy.
|
| const char kTestWebRtcUdpPortRange[] = "10000-10100";
|
| #endif
|
| @@ -3486,7 +3487,7 @@ IN_PROC_BROWSER_TEST_F(MediaRouterDisabledPolicyTest, MediaRouterDisabled) {
|
| }
|
| #endif // defined(ENABLE_MEDIA_ROUTER)
|
|
|
| -#if defined(ENABLE_WEBRTC)
|
| +#if BUILDFLAG(ENABLE_WEBRTC)
|
| // Sets the proper policy before the browser is started.
|
| template <bool enable>
|
| class WebRtcUdpPortRangePolicyTest : public PolicyTest {
|
| @@ -3531,7 +3532,7 @@ IN_PROC_BROWSER_TEST_F(WebRtcUdpPortRangeDisabledPolicyTest,
|
| pref->GetValue()->GetAsString(&port_range);
|
| EXPECT_TRUE(port_range.empty());
|
| }
|
| -#endif // defined(ENABLE_WEBRTC)
|
| +#endif // BUILDFLAG(ENABLE_WEBRTC)
|
|
|
| // Tests the ComponentUpdater's EnabledComponentUpdates group policy by
|
| // calling the OnDemand interface. It uses the network interceptor to inspect
|
|
|