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

Side by Side Diff: content/common/media/media_devices_param_traits.h

Issue 2380793002: Migrate MediaDevices.enumerateDevices to Mojo (Closed)
Patch Set: add missing file Created 4 years, 2 months 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
(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()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698