Index: content/browser/renderer_host/render_process_host_impl.h |
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h |
index 93c9fd00a34af0863dd0e57dcae89ad95511755d..1b13b14c94d6c5d16b555d3f70f1636191661c2e 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.h |
+++ b/content/browser/renderer_host/render_process_host_impl.h |
@@ -30,6 +30,7 @@ |
#include "content/public/common/service_manager_connection.h" |
#include "ipc/ipc_channel_proxy.h" |
#include "ipc/ipc_platform_file.h" |
+#include "media/media_features.h" |
#include "mojo/public/cpp/bindings/associated_binding.h" |
#include "mojo/public/cpp/bindings/associated_binding_set.h" |
#include "mojo/public/cpp/bindings/interface_ptr.h" |
@@ -55,7 +56,7 @@ class ChildConnection; |
class InProcessChildThreadParams; |
class MessagePortMessageFilter; |
class NotificationMessageFilter; |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
class P2PSocketDispatcherHost; |
#endif |
class PermissionServiceContext; |
@@ -142,7 +143,7 @@ class CONTENT_EXPORT RenderProcessHostImpl |
bool FastShutdownStarted() const override; |
base::TimeDelta GetChildProcessIdleTime() const override; |
void FilterURL(bool empty_allowed, GURL* url) override; |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
void EnableAudioDebugRecordings(const base::FilePath& file) override; |
void DisableAudioDebugRecordings() override; |
bool StartWebRTCEventLog(const base::FilePath& file_path) override; |
@@ -369,7 +370,7 @@ class CONTENT_EXPORT RenderProcessHostImpl |
// GpuSwitchingObserver implementation. |
void OnGpuSwitched() override; |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
void OnRegisterAecDumpConsumer(int id); |
void OnUnregisterAecDumpConsumer(int id); |
void RegisterAecDumpConsumerOnUIThread(int id); |
@@ -533,7 +534,7 @@ class CONTENT_EXPORT RenderProcessHostImpl |
scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_; |
-#if defined(ENABLE_WEBRTC) |
+#if BUILDFLAG(ENABLE_WEBRTC) |
scoped_refptr<P2PSocketDispatcherHost> p2p_socket_dispatcher_host_; |
// Must be accessed on UI thread. |