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

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

Issue 2761793002: Fix null argument to base::GetProcId in RenderProcessHostImpl::CreateMessageFilters. (Closed)
Patch Set: Updated unit test. Created 3 years, 9 months 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
« no previous file with comments | « no previous file | content/browser/renderer_host/media/audio_input_renderer_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fdd979ab5f7373763c04604b6b57594662ad5b07..56275cb36027a359b84d8477a3d32bff767aaff4 100644
--- a/content/browser/renderer_host/media/audio_input_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_input_renderer_host.h
@@ -87,7 +87,6 @@ class CONTENT_EXPORT AudioInputRendererHost
// Called from UI thread from the owner of this object.
// |user_input_monitor| is used for typing detection and can be NULL.
AudioInputRendererHost(int render_process_id,
- int32_t renderer_pid,
media::AudioManager* audio_manager,
MediaStreamManager* media_stream_manager,
AudioMirroringManager* audio_mirroring_manager,
@@ -203,6 +202,7 @@ class CONTENT_EXPORT AudioInputRendererHost
const AudioInputHostMsg_CreateStream_Config& config);
#if BUILDFLAG(ENABLE_WEBRTC)
+ // TODO(grunell): Move debug recording handling to AudioManager.
void MaybeEnableDebugRecordingForId(int stream_id);
base::FilePath GetDebugRecordingFilePathWithExtensions(
@@ -210,6 +210,12 @@ class CONTENT_EXPORT AudioInputRendererHost
void EnableDebugRecordingForId(const base::FilePath& file, int stream_id);
+ // Calls GetDebugRecordingFilePathWithExtensions() and
+ // EnableDebugRecordingForId().
+ void AddExtensionsToPathAndEnableDebugRecordingForId(
+ const base::FilePath& file,
+ int stream_id);
+
void DoEnableDebugRecording(int stream_id, base::File file);
void DoDisableDebugRecording(int stream_id);
« no previous file with comments | « no previous file | 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