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

Unified Diff: content/browser/renderer_host/media/audio_input_renderer_host.h

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: content/browser/renderer_host/media/audio_input_renderer_host.h
diff --git a/content/browser/renderer_host/media/audio_input_renderer_host.h b/content/browser/renderer_host/media/audio_input_renderer_host.h
index 4374632542a4b0926b0d226bab4eafa7b3558254..284ef5606df39a361faa9d49898cb226a5cbde49 100644
--- a/content/browser/renderer_host/media/audio_input_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_input_renderer_host.h
@@ -43,6 +43,7 @@
#include "media/audio/audio_io.h"
#include "media/audio/audio_logging.h"
#include "media/audio/simple_sources.h"
+#include "media/media_features.h"
namespace media {
class AudioManager;
@@ -109,7 +110,7 @@ class CONTENT_EXPORT AudioInputRendererHost
AudioMirroringManager* audio_mirroring_manager,
media::UserInputMonitor* user_input_monitor);
-#if defined(ENABLE_WEBRTC)
+#if BUILDFLAG(ENABLE_WEBRTC)
// Enable and disable debug recording of input on all audio entries.
void EnableDebugRecording(const base::FilePath& file);
void DisableDebugRecording();
@@ -222,7 +223,7 @@ class CONTENT_EXPORT AudioInputRendererHost
void MaybeUnregisterKeyboardMicStream(
const AudioInputHostMsg_CreateStream_Config& config);
-#if defined(ENABLE_WEBRTC)
+#if BUILDFLAG(ENABLE_WEBRTC)
void MaybeEnableDebugRecordingForId(int stream_id);
base::FilePath GetDebugRecordingFilePathWithExtensions(
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/renderer_host/media/audio_input_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698