| Index: services/video_capture/video_capture_device_proxy_impl.h
|
| diff --git a/services/video_capture/video_capture_device_impl.h b/services/video_capture/video_capture_device_proxy_impl.h
|
| similarity index 55%
|
| rename from services/video_capture/video_capture_device_impl.h
|
| rename to services/video_capture/video_capture_device_proxy_impl.h
|
| index 89b187961f2d9f8642f7eda3dc35f43edcd97433..ecf1c5a55b07709a1d39c61e68a089bce470beb8 100644
|
| --- a/services/video_capture/video_capture_device_impl.h
|
| +++ b/services/video_capture/video_capture_device_proxy_impl.h
|
| @@ -2,17 +2,18 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_
|
| -#define SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_
|
| +#ifndef SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_PROXY_IMPL_H_
|
| +#define SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_PROXY_IMPL_H_
|
|
|
| -#include "services/video_capture/public/interfaces/video_capture_device.mojom.h"
|
| +#include "services/video_capture/public/interfaces/video_capture_device_proxy.mojom.h"
|
|
|
| namespace video_capture {
|
|
|
| -// Implementation of the VideoCaptureDevice Mojo interface.
|
| -class VideoCaptureDeviceImpl : public mojom::VideoCaptureDevice {
|
| +// Implementation of mojom::VideoCaptureDeviceProxy backed by a given instance
|
| +// of media::VideoCaptureDevice.
|
| +class VideoCaptureDeviceProxyImpl : public mojom::VideoCaptureDeviceProxy {
|
| public:
|
| - // mojom::VideoCaptureDevice:
|
| + // mojom::VideoCaptureDeviceProxy:
|
| void Start(mojom::VideoCaptureFormatPtr requested_format,
|
| mojom::ResolutionChangePolicy resolution_change_policy,
|
| mojom::PowerLineFrequency power_line_frequency,
|
| @@ -21,4 +22,4 @@ class VideoCaptureDeviceImpl : public mojom::VideoCaptureDevice {
|
|
|
| } // namespace video_capture
|
|
|
| -#endif // SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_IMPL_H_
|
| +#endif // SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_PROXY_IMPL_H_
|
|
|