| Index: services/video_capture/public/interfaces/device_descriptor_struct_traits.h
|
| diff --git a/services/video_capture/public/interfaces/video_capture_device_descriptor_struct_traits.h b/services/video_capture/public/interfaces/device_descriptor_struct_traits.h
|
| similarity index 77%
|
| rename from services/video_capture/public/interfaces/video_capture_device_descriptor_struct_traits.h
|
| rename to services/video_capture/public/interfaces/device_descriptor_struct_traits.h
|
| index 86c74f0d8dc2d11c10ba11f50ff0e2c256f0c087..9c90a8bfb946a17fd2842dbf4512a78fd0dc98fc 100644
|
| --- a/services/video_capture/public/interfaces/video_capture_device_descriptor_struct_traits.h
|
| +++ b/services/video_capture/public/interfaces/device_descriptor_struct_traits.h
|
| @@ -2,11 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef SERVICES_VIDEO_CAPTURE_PUBLIC_INTERFACES_VIDEO_CAPTURE_DEVICE_DESCRIPTOR_STRUCT_TRAITS_H_
|
| -#define SERVICES_VIDEO_CAPTURE_PUBLIC_INTERFACES_VIDEO_CAPTURE_DEVICE_DESCRIPTOR_STRUCT_TRAITS_H_
|
| +#ifndef SERVICES_VIDEO_CAPTURE_PUBLIC_INTERFACES_DEVICE_DESCRIPTOR_STRUCT_TRAITS_H_
|
| +#define SERVICES_VIDEO_CAPTURE_PUBLIC_INTERFACES_DEVICE_DESCRIPTOR_STRUCT_TRAITS_H_
|
|
|
| #include "media/capture/video/video_capture_device_descriptor.h"
|
| -#include "services/video_capture/public/interfaces/video_capture_device_descriptor.mojom.h"
|
| +#include "services/video_capture/public/interfaces/device_descriptor.mojom.h"
|
|
|
| namespace mojo {
|
|
|
| @@ -29,7 +29,7 @@ struct EnumTraits<video_capture::mojom::VideoCaptureTransportType,
|
| };
|
|
|
| template <>
|
| -struct StructTraits<video_capture::mojom::VideoCaptureDeviceDescriptorDataView,
|
| +struct StructTraits<video_capture::mojom::DeviceDescriptorDataView,
|
| media::VideoCaptureDeviceDescriptor> {
|
| static const std::string& display_name(
|
| const media::VideoCaptureDeviceDescriptor& input) {
|
| @@ -57,10 +57,10 @@ struct StructTraits<video_capture::mojom::VideoCaptureDeviceDescriptorDataView,
|
| }
|
|
|
| static bool Read(
|
| - video_capture::mojom::VideoCaptureDeviceDescriptorDataView data,
|
| + video_capture::mojom::DeviceDescriptorDataView data,
|
| media::VideoCaptureDeviceDescriptor* output);
|
| };
|
|
|
| } // namespace mojo
|
|
|
| -#endif // SERVICES_VIDEO_CAPTURE_PUBLIC_INTERFACES_VIDEO_CAPTURE_DEVICE_DESCRIPTOR_STRUCT_TRAITS_H_
|
| +#endif // SERVICES_VIDEO_CAPTURE_PUBLIC_INTERFACES_DEVICE_DESCRIPTOR_STRUCT_TRAITS_H_
|
|
|