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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1246283003: Split out audio debug recording from RenderProcessHostImpl. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile. Created 4 years, 11 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 | « content/renderer/render_thread_impl.h ('k') | content/test/fake_service_registry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index cb49a7d345d79285db5aee4328825497da60c1b1..a1e606e608880cdaa1b523d870f23dfbc5aac815 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -107,6 +107,7 @@
#include "content/renderer/input/input_handler_manager.h"
#include "content/renderer/input/main_thread_input_event_filter.h"
#include "content/renderer/media/aec_dump_message_filter.h"
+#include "content/renderer/media/audio_debug_recorder.h"
#include "content/renderer/media/audio_input_message_filter.h"
#include "content/renderer/media/audio_message_filter.h"
#include "content/renderer/media/audio_renderer_mixer_manager.h"
@@ -696,6 +697,8 @@ void RenderThreadImpl::Init() {
peer_connection_factory_.reset(
new PeerConnectionDependencyFactory(p2p_socket_dispatcher_.get()));
+ audio_debug_recorder_ = new AudioDebugRecorder(GetServiceRegistry());
+
aec_dump_message_filter_ = new AecDumpMessageFilter(
GetIOMessageLoopProxy(), message_loop()->task_runner(),
peer_connection_factory_.get());
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/test/fake_service_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698