OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // VideoCaptureImplManager manages video capture devices in renderer process. | 5 // VideoCaptureImplManager manages video capture devices in renderer process. |
6 // The video capture clients use AddDevice() to get a pointer to | 6 // The video capture clients use AddDevice() to get a pointer to |
7 // video capture device. VideoCaputreImplManager supports multiple clients | 7 // video capture device. VideoCaputreImplManager supports multiple clients |
8 // accessing same device. | 8 // accessing same device. |
9 | 9 |
10 #ifndef CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_MANAGER_H_ | 10 #ifndef CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_MANAGER_H_ |
11 #define CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_MANAGER_H_ | 11 #define CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_MANAGER_H_ |
12 | 12 |
13 #include <list> | 13 #include <list> |
14 #include <map> | 14 #include <map> |
15 | 15 |
| 16 #include "base/message_loop/message_loop_proxy.h" |
16 #include "base/threading/thread.h" | 17 #include "base/threading/thread.h" |
17 #include "base/message_loop_proxy.h" | |
18 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
19 #include "content/common/content_export.h" | 19 #include "content/common/content_export.h" |
20 #include "media/video/capture/video_capture.h" | 20 #include "media/video/capture/video_capture.h" |
21 | 21 |
22 namespace content { | 22 namespace content { |
23 | 23 |
24 class VideoCaptureImpl; | 24 class VideoCaptureImpl; |
25 class VideoCaptureMessageFilter; | 25 class VideoCaptureMessageFilter; |
26 | 26 |
27 class CONTENT_EXPORT VideoCaptureImplManager | 27 class CONTENT_EXPORT VideoCaptureImplManager |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 scoped_refptr<VideoCaptureMessageFilter> filter_; | 73 scoped_refptr<VideoCaptureMessageFilter> filter_; |
74 base::Thread thread_; | 74 base::Thread thread_; |
75 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; | 75 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(VideoCaptureImplManager); | 77 DISALLOW_COPY_AND_ASSIGN(VideoCaptureImplManager); |
78 }; | 78 }; |
79 | 79 |
80 } // namespace content | 80 } // namespace content |
81 | 81 |
82 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_MANAGER_H_ | 82 #endif // CONTENT_RENDERER_MEDIA_VIDEO_CAPTURE_IMPL_MANAGER_H_ |
OLD | NEW |