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

Side by Side Diff: services/video_capture/public/interfaces/video_capture_settings_traits.h

Issue 2468663003: [Mojo Video Capture] Add Mojo Typemap for VideoCaptureDeviceDescriptor (Closed)
Patch Set: 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
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_PUBLIC_INTERFACES_VIDEO_CAPTURE_SETTINGS_TRAITS_H _ 5 #ifndef SERVICES_VIDEO_CAPTURE_PUBLIC_INTERFACES_VIDEO_CAPTURE_SETTINGS_TRAITS_H _
6 #define SERVICES_VIDEO_CAPTURE_PUBLIC_INTERFACES_VIDEO_CAPTURE_SETTINGS_TRAITS_H _ 6 #define SERVICES_VIDEO_CAPTURE_PUBLIC_INTERFACES_VIDEO_CAPTURE_SETTINGS_TRAITS_H _
7 7
8 #include "media/capture/video_capture_types.h" 8 #include "media/capture/video_capture_types.h"
9 #include "mojo/common/common_custom_types_struct_traits.h" 9 #include "mojo/common/common_custom_types_struct_traits.h"
10 #include "services/video_capture/public/interfaces/video_capture_device_proxy.mo jom.h" 10 #include "services/video_capture/public/interfaces/video_capture_device_proxy.mo jom.h"
(...skipping 30 matching lines...) Expand all
41 } 41 }
42 42
43 static media::PowerLineFrequency power_line_frequency( 43 static media::PowerLineFrequency power_line_frequency(
44 const video_capture::VideoCaptureSettings& input) { 44 const video_capture::VideoCaptureSettings& input) {
45 return input.power_line_frequency; 45 return input.power_line_frequency;
46 } 46 }
47 47
48 static bool Read(video_capture::mojom::VideoCaptureSettingsDataView data, 48 static bool Read(video_capture::mojom::VideoCaptureSettingsDataView data,
49 video_capture::VideoCaptureSettings* out); 49 video_capture::VideoCaptureSettings* out);
50 }; 50 };
51
51 } 52 }
52 53
53 #endif // SERVICES_VIDEO_CAPTURE_PUBLIC_INTERFACES_VIDEO_CAPTURE_SETTINGS_TRAIT S_H_ 54 #endif // SERVICES_VIDEO_CAPTURE_PUBLIC_INTERFACES_VIDEO_CAPTURE_SETTINGS_TRAIT S_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698