Chromium Code Reviews| Index: content/renderer/media/video_capture_impl_manager.h |
| diff --git a/content/renderer/media/video_capture_impl_manager.h b/content/renderer/media/video_capture_impl_manager.h |
| index d22b017b08a3400c7314fe0219d30cfc42b363e7..d9f51494d7671f6d8e213bb1e6ca6a1b458d3b78 100644 |
| --- a/content/renderer/media/video_capture_impl_manager.h |
| +++ b/content/renderer/media/video_capture_impl_manager.h |
| @@ -18,9 +18,11 @@ |
| #include "base/synchronization/lock.h" |
| #include "content/common/content_export.h" |
| #include "media/video/capture/video_capture.h" |
| +#include "media/video/encoded_video_source.h" |
| namespace content { |
| +class RtcEncodingVideoCapturerFactory; |
| class VideoCaptureImpl; |
| class VideoCaptureMessageFilter; |
| @@ -50,6 +52,10 @@ class CONTENT_EXPORT VideoCaptureImplManager |
| return filter_.get(); |
| } |
| + RtcEncodingVideoCapturerFactory* encoding_capturer_factory() const { |
|
Ami GONE FROM CHROMIUM
2013/06/08 00:18:01
It's almost never a good idea to return a raw poin
hshi1
2013/06/12 00:50:24
The problem I'm facing is that the factory pointer
hshi1
2013/06/13 22:03:46
I've made the following change:
(1) the encoding_c
|
| + return encoding_capturer_factory_.get(); |
| + } |
| + |
| protected: |
| virtual ~VideoCaptureImplManager(); |
| @@ -74,6 +80,8 @@ class CONTENT_EXPORT VideoCaptureImplManager |
| base::Thread thread_; |
| scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; |
| + scoped_refptr<RtcEncodingVideoCapturerFactory> encoding_capturer_factory_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(VideoCaptureImplManager); |
| }; |