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

Side by Side Diff: media/capture/video/linux/v4l2_capture_delegate.h

Issue 1307643003: IWYU for base/memory/scoped_vector.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 months 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
« no previous file with comments | « media/base/bind_to_current_loop.h ('k') | media/midi/usb_midi_device_factory_android.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 MEDIA_VIDEO_CAPTURE_LINUX_V4L2_VIDEO_CAPTURE_DELEGATE_H_ 5 #ifndef MEDIA_VIDEO_CAPTURE_LINUX_V4L2_VIDEO_CAPTURE_DELEGATE_H_
6 #define MEDIA_VIDEO_CAPTURE_LINUX_V4L2_VIDEO_CAPTURE_DELEGATE_H_ 6 #define MEDIA_VIDEO_CAPTURE_LINUX_V4L2_VIDEO_CAPTURE_DELEGATE_H_
7 7
8 #if defined(OS_OPENBSD) 8 #if defined(OS_OPENBSD)
9 #include <sys/videoio.h> 9 #include <sys/videoio.h>
10 #else 10 #else
11 #include <linux/videodev2.h> 11 #include <linux/videodev2.h>
12 #endif 12 #endif
13 13
14 #include "base/files/scoped_file.h" 14 #include "base/files/scoped_file.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_vector.h"
17 #include "media/capture/video/video_capture_device.h" 16 #include "media/capture/video/video_capture_device.h"
18 17
19 namespace media { 18 namespace media {
20 19
21 // Class doing the actual Linux capture using V4L2 API. V4L2 SPLANE/MPLANE 20 // Class doing the actual Linux capture using V4L2 API. V4L2 SPLANE/MPLANE
22 // capture specifics are implemented in derived classes. Created and destroyed 21 // capture specifics are implemented in derived classes. Created and destroyed
23 // on the owner's thread, otherwise living and operating on |v4l2_task_runner_|. 22 // on the owner's thread, otherwise living and operating on |v4l2_task_runner_|.
24 class V4L2CaptureDelegate 23 class V4L2CaptureDelegate
25 : public base::RefCountedThreadSafe<V4L2CaptureDelegate> { 24 : public base::RefCountedThreadSafe<V4L2CaptureDelegate> {
26 public: 25 public:
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 159
161 // Clockwise rotation in degrees. This value should be 0, 90, 180, or 270. 160 // Clockwise rotation in degrees. This value should be 0, 90, 180, or 270.
162 int rotation_; 161 int rotation_;
163 162
164 DISALLOW_COPY_AND_ASSIGN(V4L2CaptureDelegate); 163 DISALLOW_COPY_AND_ASSIGN(V4L2CaptureDelegate);
165 }; 164 };
166 165
167 } // namespace media 166 } // namespace media
168 167
169 #endif // MEDIA_VIDEO_CAPTURE_LINUX_V4L2_VIDEO_CAPTURE_DELEGATE_H_ 168 #endif // MEDIA_VIDEO_CAPTURE_LINUX_V4L2_VIDEO_CAPTURE_DELEGATE_H_
OLDNEW
« no previous file with comments | « media/base/bind_to_current_loop.h ('k') | media/midi/usb_midi_device_factory_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698