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

Side by Side Diff: services/video_capture/video_capture_device_proxy_impl.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
« no previous file with comments | « services/video_capture/public/interfaces/video_capture_format_traits.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_ 5 #ifndef SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_
6 #define SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_ 6 #define SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_
7 7
8 #include "media/base/video_capture_types.h"
9 #include "media/capture/video/video_capture_device.h" 8 #include "media/capture/video/video_capture_device.h"
10 #include "media/capture/video/video_capture_device_client.h" 9 #include "media/capture/video/video_capture_device_client.h"
10 #include "media/capture/video_capture_types.h"
11 #include "services/video_capture/public/interfaces/video_capture_device_proxy.mo jom.h" 11 #include "services/video_capture/public/interfaces/video_capture_device_proxy.mo jom.h"
12 12
13 namespace video_capture { 13 namespace video_capture {
14 14
15 // Implementation of mojom::VideoCaptureDeviceProxy backed by a given instance 15 // Implementation of mojom::VideoCaptureDeviceProxy backed by a given instance
16 // of media::VideoCaptureDevice. 16 // of media::VideoCaptureDevice.
17 class VideoCaptureDeviceProxyImpl : public mojom::VideoCaptureDeviceProxy { 17 class VideoCaptureDeviceProxyImpl : public mojom::VideoCaptureDeviceProxy {
18 public: 18 public:
19 VideoCaptureDeviceProxyImpl(std::unique_ptr<media::VideoCaptureDevice> device, 19 VideoCaptureDeviceProxyImpl(std::unique_ptr<media::VideoCaptureDevice> device,
20 const media::VideoCaptureJpegDecoderFactoryCB& 20 const media::VideoCaptureJpegDecoderFactoryCB&
(...skipping 12 matching lines...) Expand all
33 33
34 private: 34 private:
35 const std::unique_ptr<media::VideoCaptureDevice> device_; 35 const std::unique_ptr<media::VideoCaptureDevice> device_;
36 media::VideoCaptureJpegDecoderFactoryCB jpeg_decoder_factory_callback_; 36 media::VideoCaptureJpegDecoderFactoryCB jpeg_decoder_factory_callback_;
37 bool device_running_; 37 bool device_running_;
38 }; 38 };
39 39
40 } // namespace video_capture 40 } // namespace video_capture
41 41
42 #endif // SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_ 42 #endif // SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_
OLDNEW
« no previous file with comments | « services/video_capture/public/interfaces/video_capture_format_traits.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698