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

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

Issue 17444005: Remove MediaStreamDeviceThread in favor of using AudioThread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix one more test. Created 7 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_manager.h
diff --git a/content/browser/renderer_host/media/media_stream_manager.h b/content/browser/renderer_host/media/media_stream_manager.h
index ae9fd37f11273851e1db1d20b681703f600cff4b..ca62e7ad95ad11a0a310723719d9a1135aba0f4d 100644
--- a/content/browser/renderer_host/media/media_stream_manager.h
+++ b/content/browser/renderer_host/media/media_stream_manager.h
@@ -35,10 +35,6 @@
#include "content/common/media/media_stream_options.h"
#include "content/common/content_export.h"
-namespace base {
-class Thread;
-}
-
namespace media {
class AudioManager;
}
@@ -206,7 +202,7 @@ class CONTENT_EXPORT MediaStreamManager
void StopMonitoring();
// Device thread shared by VideoCaptureManager and AudioInputDeviceManager.
- scoped_ptr<base::Thread> device_thread_;
+ scoped_refptr<base::MessageLoopProxy> device_loop_;
media::AudioManager* const audio_manager_; // not owned
scoped_refptr<AudioInputDeviceManager> audio_input_device_manager_;

Powered by Google App Engine
This is Rietveld 408576698