| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "content/renderer/media/video_capture_impl_manager.h" | 5 #include "content/renderer/media/video_capture_impl_manager.h" |
| 6 | 6 |
| 7 #include "base/stl_util-inl.h" | 7 #include "base/stl_util.h" |
| 8 #include "content/renderer/media/video_capture_impl.h" | 8 #include "content/renderer/media/video_capture_impl.h" |
| 9 #include "content/renderer/media/video_capture_message_filter.h" | 9 #include "content/renderer/media/video_capture_message_filter.h" |
| 10 | 10 |
| 11 VideoCaptureImplManager::VideoCaptureImplManager() | 11 VideoCaptureImplManager::VideoCaptureImplManager() |
| 12 : thread_("VC manager") { | 12 : thread_("VC manager") { |
| 13 thread_.Start(); | 13 thread_.Start(); |
| 14 message_loop_proxy_ = thread_.message_loop_proxy(); | 14 message_loop_proxy_ = thread_.message_loop_proxy(); |
| 15 filter_ = new VideoCaptureMessageFilter(); | 15 filter_ = new VideoCaptureMessageFilter(); |
| 16 } | 16 } |
| 17 | 17 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 } | 66 } |
| 67 | 67 |
| 68 VideoCaptureImplManager::Device::Device( | 68 VideoCaptureImplManager::Device::Device( |
| 69 VideoCaptureImpl* device, | 69 VideoCaptureImpl* device, |
| 70 media::VideoCapture::EventHandler* handler) | 70 media::VideoCapture::EventHandler* handler) |
| 71 : vc(device) { | 71 : vc(device) { |
| 72 clients.push_front(handler); | 72 clients.push_front(handler); |
| 73 } | 73 } |
| 74 | 74 |
| 75 VideoCaptureImplManager::Device::~Device() {} | 75 VideoCaptureImplManager::Device::~Device() {} |
| OLD | NEW |