OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 // Multiply-included IPC traits file, hence no include guard. | |
hta - Chromium
2016/09/30 08:38:12
I'm a bit surprised to see this IPC traits file in
Guido Urdaneta
2016/10/07 17:07:13
Because the MediaDeviceInfo type we are using is a
| |
6 | |
7 #include "content/common/content_export.h" | |
8 #include "content/common/media/media_devices.h" | |
9 #include "ipc/ipc_message_macros.h" | |
10 | |
11 #undef IPC_MESSAGE_EXPORT | |
12 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | |
13 | |
14 IPC_ENUM_TRAITS_MAX_VALUE(content::MediaDeviceType, | |
15 content::NUM_MEDIA_DEVICE_TYPES - 1) | |
16 | |
17 IPC_STRUCT_TRAITS_BEGIN(content::MediaDeviceInfo) | |
18 IPC_STRUCT_TRAITS_MEMBER(device_id) | |
19 IPC_STRUCT_TRAITS_MEMBER(label) | |
20 IPC_STRUCT_TRAITS_MEMBER(group_id) | |
21 IPC_STRUCT_TRAITS_END() | |
OLD | NEW |