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

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

Issue 2578983003: Add AudioStreamRegistry. Move stream counting logic (Closed)
Patch Set: Thread checking. Created 4 years 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 0dd50c3a1cd36946022c7188e5722ada40ce82a6..dfd3719207ce6fe13edb9a419928b32c777c3d0f 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -52,6 +52,7 @@ class SharedPersistentMemoryAllocator;
namespace content {
class AudioInputRendererHost;
class AudioRendererHost;
+class AudioStreamRegistryImpl;
class ChildConnection;
class InProcessChildThreadParams;
class MessagePortMessageFilter;
@@ -529,6 +530,9 @@ class CONTENT_EXPORT RenderProcessHostImpl
// through RenderProcessHostObserver::RenderProcessExited.
bool within_process_died_observer_;
+ std::unique_ptr<AudioStreamRegistryImpl, BrowserThread::DeleteOnIOThread>
+ 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