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

Side by Side Diff: content/renderer/media/webrtc/webrtc_video_capturer_adapter.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
15 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
16 #include "media/base/video_capture_types.h"
17 #include "media/base/video_frame.h" 16 #include "media/base/video_frame.h"
18 #include "media/base/video_frame_pool.h" 17 #include "media/base/video_frame_pool.h"
18 #include "media/capture/video_capture_types.h"
19 #include "third_party/webrtc/media/base/videocapturer.h" 19 #include "third_party/webrtc/media/base/videocapturer.h"
20 20
21 namespace content { 21 namespace content {
22 22
23 // WebRtcVideoCapturerAdapter implements a simple cricket::VideoCapturer that is 23 // WebRtcVideoCapturerAdapter implements a simple cricket::VideoCapturer that is
24 // used for VideoCapturing in libJingle and especially in PeerConnections. 24 // used for VideoCapturing in libJingle and especially in PeerConnections.
25 // The class is created and destroyed on the main render thread. 25 // The class is created and destroyed on the main render thread.
26 // PeerConnection access cricket::VideoCapturer from a libJingle worker thread. 26 // PeerConnection access cricket::VideoCapturer from a libJingle worker thread.
27 // An instance of WebRtcVideoCapturerAdapter is owned by an instance of 27 // An instance of WebRtcVideoCapturerAdapter is owned by an instance of
28 // webrtc::VideoTrackSourceInterface in libJingle. The implementation of 28 // webrtc::VideoTrackSourceInterface in libJingle. The implementation of
(...skipping 29 matching lines...) Expand all
58 bool running_; 58 bool running_;
59 59
60 media::VideoFramePool scaled_frame_pool_; 60 media::VideoFramePool scaled_frame_pool_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(WebRtcVideoCapturerAdapter); 62 DISALLOW_COPY_AND_ASSIGN(WebRtcVideoCapturerAdapter);
63 }; 63 };
64 64
65 } // namespace content 65 } // namespace content
66 66
67 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_ 67 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_WEBRTC_VIDEO_CAPTURER_ADAPTER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/video_track_to_pepper_adapter.cc ('k') | content/renderer/pepper/pepper_platform_camera_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698