Chromium Code Reviews| Index: content/renderer/media/media_stream_dependency_factory.h |
| diff --git a/content/renderer/media/media_stream_dependency_factory.h b/content/renderer/media/media_stream_dependency_factory.h |
| index 7750276d290018856633649f0a8df3adca1a6254..23e68f04907ac6c6af7e6144a74823bfc5627bcb 100644 |
| --- a/content/renderer/media/media_stream_dependency_factory.h |
| +++ b/content/renderer/media/media_stream_dependency_factory.h |
| @@ -9,6 +9,7 @@ |
| #include "base/basictypes.h" |
| #include "base/memory/ref_counted.h" |
| +#include "base/message_loop/message_loop_proxy.h" |
|
scherkus (not reviewing)
2013/07/19 18:13:58
AFAIK you can fwd decl vs include
you may also be
wuchengli
2013/07/20 06:04:14
Done.
|
| #include "base/threading/thread.h" |
| #include "content/common/content_export.h" |
| #include "content/renderer/media/media_stream_extra_data.h" |
| @@ -61,7 +62,8 @@ class CONTENT_EXPORT MediaStreamDependencyFactory |
| bool live)> MediaSourcesCreatedCallback; |
| MediaStreamDependencyFactory( |
| VideoCaptureImplManager* vc_manager, |
| - P2PSocketDispatcher* p2p_socket_dispatcher); |
| + P2PSocketDispatcher* p2p_socket_dispatcher, |
| + const scoped_refptr<base::MessageLoopProxy>& media_loop_proxy); |
| virtual ~MediaStreamDependencyFactory(); |
| // Create a RTCPeerConnectionHandler object that implements the |
| @@ -231,6 +233,9 @@ class CONTENT_EXPORT MediaStreamDependencyFactory |
| talk_base::Thread* worker_thread_; |
| base::Thread chrome_worker_thread_; |
| + // Message loop proxy of the media thread. |
| + scoped_refptr<base::MessageLoopProxy> media_loop_proxy_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(MediaStreamDependencyFactory); |
| }; |