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

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

Issue 2143903003: [WIP] Move media/capture to device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
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 CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_CLIENT_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_CLIENT_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
17 #include "media/capture/video/video_capture_device.h" 17 #include "device/capture/video/video_capture_device.h"
18 18
19 namespace content { 19 namespace content {
20 class VideoCaptureBufferPool; 20 class VideoCaptureBufferPool;
21 class VideoCaptureController; 21 class VideoCaptureController;
22 class VideoCaptureGpuJpegDecoder; 22 class VideoCaptureGpuJpegDecoder;
23 23
24 // Receives events from the VideoCaptureDevice and posts them to a |controller_| 24 // Receives events from the VideoCaptureDevice and posts them to a |controller_|
25 // on the IO thread. An instance of this class may safely outlive its target 25 // on the IO thread. An instance of this class may safely outlive its target
26 // VideoCaptureController. This is a shallow class meant to convert incoming 26 // VideoCaptureController. This is a shallow class meant to convert incoming
27 // frames and holds no significant state. 27 // frames and holds no significant state.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 media::VideoPixelFormat last_captured_pixel_format_; 110 media::VideoPixelFormat last_captured_pixel_format_;
111 111
112 DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceClient); 112 DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceClient);
113 }; 113 };
114 114
115 115
116 } // namespace content 116 } // namespace content
117 117
118 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_CLIENT_H_ 118 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698