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

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

Issue 10662049: Move the device enumerate/open/close work to device thread from IO thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed Magnus' comments. Created 8 years, 6 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
diff --git a/content/browser/renderer_host/media/media_stream_dispatcher_host.h b/content/browser/renderer_host/media/media_stream_dispatcher_host.h
index 4218d7c43bdc67917b5c574dd0b8083acf9b584f..f853349ea560e8c8e2c6be5b98bd916686265c55 100644
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host.h
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host.h
@@ -29,8 +29,7 @@ class CONTENT_EXPORT MediaStreamDispatcherHost
public MediaStreamRequester {
public:
MediaStreamDispatcherHost(content::ResourceContext* resource_context,
- int render_process_id,
- media::AudioManager* audio_manager);
tommi (sloooow) - chröme 2012/07/02 13:36:36 I worry that we're going back to a singleton patte
+ int render_process_id);
// MediaStreamRequester implementation.
virtual void StreamGenerated(
@@ -83,7 +82,6 @@ class CONTENT_EXPORT MediaStreamDispatcherHost
content::ResourceContext* resource_context_;
int render_process_id_;
- media::AudioManager* audio_manager_;
struct StreamRequest;
typedef std::map<std::string, StreamRequest> StreamMap;

Powered by Google App Engine
This is Rietveld 408576698