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

Unified Diff: content/browser/renderer_host/media/media_stream_dispatcher_host.h

Issue 9433006: Remove GetAudioManager and GetMediaStreamManager from ResourceContext. The reason is the content mo… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 10 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/media/media_stream_dispatcher_host.h
===================================================================
--- content/browser/renderer_host/media/media_stream_dispatcher_host.h (revision 123165)
+++ content/browser/renderer_host/media/media_stream_dispatcher_host.h (working copy)
@@ -29,7 +29,8 @@
public MediaStreamRequester {
public:
MediaStreamDispatcherHost(content::ResourceContext* resource_context,
- int render_process_id);
+ int render_process_id,
+ AudioManager* audio_manager);
virtual ~MediaStreamDispatcherHost();
// MediaStreamRequester implementation.
@@ -79,6 +80,7 @@
content::ResourceContext* resource_context_;
int render_process_id_;
+ AudioManager* audio_manager_;
struct StreamRequest;
typedef std::map<std::string, StreamRequest> StreamMap;

Powered by Google App Engine
This is Rietveld 408576698