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

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

Issue 2578983003: Add AudioStreamRegistry. Move stream counting logic (Closed)
Patch Set: Thread checks. Created 3 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
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 75895e13851c1a422a906eded872a6eff6b4a33f..2858cd99087c4cb8680d3564ac7028592daceb03 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -23,6 +23,7 @@
#include "content/browser/child_process_launcher.h"
#include "content/browser/dom_storage/session_storage_namespace_impl.h"
#include "content/browser/renderer_host/offscreen_canvas_compositor_frame_sink_provider_impl.h"
+#include "content/browser/renderer_host/media/audio_stream_registry_impl.h"
#include "content/browser/webrtc/webrtc_eventlog_host.h"
#include "content/common/associated_interfaces.mojom.h"
#include "content/common/content_export.h"
@@ -544,6 +545,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
// through RenderProcessHostObserver::RenderProcessExited.
bool within_process_died_observer_;
+ const AudioStreamRegistryImpl::UniquePtr audio_stream_registry_;
+
scoped_refptr<AudioRendererHost> audio_renderer_host_;
scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_;

Powered by Google App Engine
This is Rietveld 408576698