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

Side by Side Diff: content/browser/renderer_host/media/video_capture_manager.h

Issue 2415703002: Move files video_capture*.* from media/base to media/capture (Closed)
Patch Set: rebase Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
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 // VideoCaptureManager is used to open/close, start/stop, enumerate available 5 // VideoCaptureManager is used to open/close, start/stop, enumerate available
6 // video capture devices, and manage VideoCaptureController's. 6 // video capture devices, and manage VideoCaptureController's.
7 // All functions are expected to be called from Browser::IO thread. Some helper 7 // All functions are expected to be called from Browser::IO thread. Some helper
8 // functions (*OnDeviceThread) will dispatch operations to the device thread. 8 // functions (*OnDeviceThread) will dispatch operations to the device thread.
9 // VideoCaptureManager will open OS dependent instances of VideoCaptureDevice. 9 // VideoCaptureManager will open OS dependent instances of VideoCaptureDevice.
10 // A device can only be opened once. 10 // A device can only be opened once.
(...skipping 11 matching lines...) Expand all
22 #include "base/memory/weak_ptr.h" 22 #include "base/memory/weak_ptr.h"
23 #include "base/message_loop/message_loop.h" 23 #include "base/message_loop/message_loop.h"
24 #include "base/process/process_handle.h" 24 #include "base/process/process_handle.h"
25 #include "base/threading/thread_checker.h" 25 #include "base/threading/thread_checker.h"
26 #include "base/timer/elapsed_timer.h" 26 #include "base/timer/elapsed_timer.h"
27 #include "build/build_config.h" 27 #include "build/build_config.h"
28 #include "content/browser/renderer_host/media/media_stream_provider.h" 28 #include "content/browser/renderer_host/media/media_stream_provider.h"
29 #include "content/browser/renderer_host/media/video_capture_controller_event_han dler.h" 29 #include "content/browser/renderer_host/media/video_capture_controller_event_han dler.h"
30 #include "content/common/content_export.h" 30 #include "content/common/content_export.h"
31 #include "content/common/media/media_stream_options.h" 31 #include "content/common/media/media_stream_options.h"
32 #include "media/base/video_capture_types.h"
33 #include "media/capture/video/video_capture_device.h" 32 #include "media/capture/video/video_capture_device.h"
34 #include "media/capture/video/video_capture_device_factory.h" 33 #include "media/capture/video/video_capture_device_factory.h"
34 #include "media/capture/video_capture_types.h"
35 35
36 #if defined(OS_ANDROID) 36 #if defined(OS_ANDROID)
37 #include "base/android/application_status_listener.h" 37 #include "base/android/application_status_listener.h"
38 #endif 38 #endif
39 39
40 namespace content { 40 namespace content {
41 class VideoCaptureController; 41 class VideoCaptureController;
42 class VideoCaptureControllerEventHandler; 42 class VideoCaptureControllerEventHandler;
43 43
44 // VideoCaptureManager opens/closes and start/stops video capture devices. 44 // VideoCaptureManager opens/closes and start/stops video capture devices.
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 // Map used by DesktopCapture. 353 // Map used by DesktopCapture.
354 std::map<media::VideoCaptureSessionId, gfx::NativeViewId> 354 std::map<media::VideoCaptureSessionId, gfx::NativeViewId>
355 notification_window_ids_; 355 notification_window_ids_;
356 356
357 DISALLOW_COPY_AND_ASSIGN(VideoCaptureManager); 357 DISALLOW_COPY_AND_ASSIGN(VideoCaptureManager);
358 }; 358 };
359 359
360 } // namespace content 360 } // namespace content
361 361
362 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_MANAGER_H_ 362 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698