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

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

Issue 2578983003: Add AudioStreamRegistry. Move stream counting logic (Closed)
Patch Set: . 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..9c87bd30c94061edca212842b1220bf9fc21e32a 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -12,6 +12,8 @@
#include <memory>
#include <queue>
#include <string>
+#include <utility>
+#include <vector>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
@@ -22,6 +24,7 @@
#include "build/build_config.h"
#include "content/browser/child_process_launcher.h"
#include "content/browser/dom_storage/session_storage_namespace_impl.h"
+#include "content/browser/renderer_host/media/audio_stream_registry_impl.h"
#include "content/browser/renderer_host/offscreen_canvas_compositor_frame_sink_provider_impl.h"
#include "content/browser/webrtc/webrtc_eventlog_host.h"
#include "content/common/associated_interfaces.mojom.h"
@@ -544,6 +547,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
// through RenderProcessHostObserver::RenderProcessExited.
bool within_process_died_observer_;
+ const AudioStreamRegistryImpl::UniquePtr audio_stream_registry_;
o1ka 2017/01/12 18:09:46 "Must outlive |audio_renderer_host_|" comment?
+
scoped_refptr<AudioRendererHost> audio_renderer_host_;
scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_;

Powered by Google App Engine
This is Rietveld 408576698