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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 1272223003: Implement writing mic audio input data to file for debugging purposes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 3 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
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 e6c2f8252948449b90a0b1f7d43e5a91eae238f9..8eff7f60ecfaaf98bfefced20d29ed0f64011b8f 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -46,6 +46,7 @@ class ChannelMojoHost;
}
namespace content {
+class AudioInputRendererHost;
class AudioRendererHost;
class BluetoothDispatcherHost;
class BrowserCdmManager;
@@ -136,8 +137,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
void ResumeRequestsForView(int route_id) override;
void FilterURL(bool empty_allowed, GURL* url) override;
#if defined(ENABLE_WEBRTC)
- void EnableAecDump(const base::FilePath& file) override;
- void DisableAecDump() override;
+ void EnableAudioDebugRecordings(const base::FilePath& file) override;
+ void DisableAudioDebugRecordings() override;
void SetWebRtcLogMessageCallback(
base::Callback<void(const std::string&)> callback) override;
WebRtcStopRtpDumpCallback StartRtpDump(
@@ -342,6 +343,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
void SendAecDumpFileToRenderer(int id,
IPC::PlatformFileForTransit file_for_transit);
void SendDisableAecDumpToRenderer();
+ base::FilePath GetAecDumpFilePathWithExtensions(const base::FilePath& file);
#endif
scoped_ptr<MojoApplicationHost> mojo_application_host_;
@@ -448,6 +450,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
scoped_refptr<AudioRendererHost> audio_renderer_host_;
+ scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_;
+
scoped_refptr<BluetoothDispatcherHost> bluetooth_dispatcher_host_;
#if defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698