OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 Cast transport API. | 5 // IPC messages for the Cast transport API. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
| 8 #include <string> |
| 9 |
8 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
9 #include "media/cast/cast_sender.h" | 11 #include "media/cast/cast_sender.h" |
10 #include "media/cast/logging/logging_defines.h" | 12 #include "media/cast/logging/logging_defines.h" |
11 #include "media/cast/net/cast_transport_sender.h" | 13 #include "media/cast/net/cast_transport_sender.h" |
12 #include "media/cast/net/rtcp/rtcp_defines.h" | 14 #include "media/cast/net/rtcp/rtcp_defines.h" |
13 #include "net/base/ip_endpoint.h" | 15 #include "net/base/ip_endpoint.h" |
14 | 16 |
15 #undef IPC_MESSAGE_EXPORT | 17 #undef IPC_MESSAGE_EXPORT |
16 #define IPC_MESSAGE_EXPORT | 18 #define IPC_MESSAGE_EXPORT |
17 #define IPC_MESSAGE_START CastMsgStart | 19 #define IPC_MESSAGE_START CastMsgStart |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 int32 /* channel_id */, | 143 int32 /* channel_id */, |
142 uint32 /* ssrc */, | 144 uint32 /* ssrc */, |
143 std::vector<uint32> /* frame_ids */) | 145 std::vector<uint32> /* frame_ids */) |
144 | 146 |
145 IPC_MESSAGE_CONTROL3( | 147 IPC_MESSAGE_CONTROL3( |
146 CastHostMsg_ResendFrameForKickstart, | 148 CastHostMsg_ResendFrameForKickstart, |
147 int32 /* channel_id */, | 149 int32 /* channel_id */, |
148 uint32 /* ssrc */, | 150 uint32 /* ssrc */, |
149 uint32 /* frame_id */) | 151 uint32 /* frame_id */) |
150 | 152 |
151 IPC_MESSAGE_CONTROL2( | 153 IPC_MESSAGE_CONTROL3( |
152 CastHostMsg_New, | 154 CastHostMsg_New, |
153 int32 /* channel_id */, | 155 int32 /* channel_id */, |
154 net::IPEndPoint /*remote_end_point*/) | 156 net::IPEndPoint /* remote_end_point */, |
| 157 std::string /* options */) |
155 | 158 |
156 IPC_MESSAGE_CONTROL1( | 159 IPC_MESSAGE_CONTROL1( |
157 CastHostMsg_Delete, | 160 CastHostMsg_Delete, |
158 int32 /* channel_id */) | 161 int32 /* channel_id */) |
OLD | NEW |