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

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

Issue 10177008: Shift media_stream::StreamOptions to align with the new getUserMedia spec (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 7 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // IPC messages for the media streaming. 5 // IPC messages for the media streaming.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "content/common/media/media_stream_options.h" 11 #include "content/common/media/media_stream_options.h"
12 #include "ipc/ipc_message_macros.h" 12 #include "ipc/ipc_message_macros.h"
13 13
14 #undef IPC_MESSAGE_EXPORT 14 #undef IPC_MESSAGE_EXPORT
15 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 15 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
16 #define IPC_MESSAGE_START MediaStreamMsgStart 16 #define IPC_MESSAGE_START MediaStreamMsgStart
17 17
18 IPC_ENUM_TRAITS(media_stream::MediaStreamType) 18 IPC_ENUM_TRAITS(media_stream::MediaStreamType)
19 IPC_ENUM_TRAITS(media_stream::StreamOptions::VideoOption)
20 19
21 IPC_STRUCT_TRAITS_BEGIN(media_stream::StreamOptions) 20 IPC_STRUCT_TRAITS_BEGIN(media_stream::StreamOptions)
22 IPC_STRUCT_TRAITS_MEMBER(audio) 21 IPC_STRUCT_TRAITS_MEMBER(audio)
23 IPC_STRUCT_TRAITS_MEMBER(video_option) 22 IPC_STRUCT_TRAITS_MEMBER(video)
24 IPC_STRUCT_TRAITS_END() 23 IPC_STRUCT_TRAITS_END()
25 24
26 IPC_STRUCT_TRAITS_BEGIN(media_stream::StreamDeviceInfo) 25 IPC_STRUCT_TRAITS_BEGIN(media_stream::StreamDeviceInfo)
27 IPC_STRUCT_TRAITS_MEMBER(stream_type) 26 IPC_STRUCT_TRAITS_MEMBER(stream_type)
28 IPC_STRUCT_TRAITS_MEMBER(name) 27 IPC_STRUCT_TRAITS_MEMBER(name)
29 IPC_STRUCT_TRAITS_MEMBER(device_id) 28 IPC_STRUCT_TRAITS_MEMBER(device_id)
30 IPC_STRUCT_TRAITS_MEMBER(in_use) 29 IPC_STRUCT_TRAITS_MEMBER(in_use)
31 IPC_STRUCT_TRAITS_MEMBER(session_id) 30 IPC_STRUCT_TRAITS_MEMBER(session_id)
32 IPC_STRUCT_TRAITS_END() 31 IPC_STRUCT_TRAITS_END()
33 32
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 media_stream::MediaStreamType /* type */, 95 media_stream::MediaStreamType /* type */,
97 std::string /* security origin */) 96 std::string /* security origin */)
98 97
99 // Request to open the device. 98 // Request to open the device.
100 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice, 99 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice,
101 int /* render view id */, 100 int /* render view id */,
102 int /* request id */, 101 int /* request id */,
103 std::string /* device_id */, 102 std::string /* device_id */,
104 media_stream::MediaStreamType /* type */, 103 media_stream::MediaStreamType /* type */,
105 std::string /* security origin */) 104 std::string /* security origin */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698