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

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

Issue 9425006: Make IPC_MESSAGE_EXPORT more robust. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « content/common/media/audio_messages.h ('k') | content/common/media/video_capture_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/media/media_stream_options.h" 11 #include "content/common/media/media_stream_options.h"
11 #include "ipc/ipc_message_macros.h" 12 #include "ipc/ipc_message_macros.h"
12 13
14 #undef IPC_MESSAGE_EXPORT
15 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
13 #define IPC_MESSAGE_START MediaStreamMsgStart 16 #define IPC_MESSAGE_START MediaStreamMsgStart
14 17
15 IPC_ENUM_TRAITS(media_stream::MediaStreamType) 18 IPC_ENUM_TRAITS(media_stream::MediaStreamType)
16 IPC_ENUM_TRAITS(media_stream::StreamOptions::VideoOption) 19 IPC_ENUM_TRAITS(media_stream::StreamOptions::VideoOption)
17 20
18 IPC_STRUCT_TRAITS_BEGIN(media_stream::StreamOptions) 21 IPC_STRUCT_TRAITS_BEGIN(media_stream::StreamOptions)
19 IPC_STRUCT_TRAITS_MEMBER(audio) 22 IPC_STRUCT_TRAITS_MEMBER(audio)
20 IPC_STRUCT_TRAITS_MEMBER(video_option) 23 IPC_STRUCT_TRAITS_MEMBER(video_option)
21 IPC_STRUCT_TRAITS_END() 24 IPC_STRUCT_TRAITS_END()
22 25
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 media_stream::MediaStreamType /* type */, 96 media_stream::MediaStreamType /* type */,
94 std::string /* security origin */) 97 std::string /* security origin */)
95 98
96 // Request to open the device. 99 // Request to open the device.
97 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice, 100 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice,
98 int /* render view id */, 101 int /* render view id */,
99 int /* request id */, 102 int /* request id */,
100 std::string /* device_id */, 103 std::string /* device_id */,
101 media_stream::MediaStreamType /* type */, 104 media_stream::MediaStreamType /* type */,
102 std::string /* security origin */) 105 std::string /* security origin */)
OLDNEW
« no previous file with comments | « content/common/media/audio_messages.h ('k') | content/common/media/video_capture_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698