| 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 "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
| 9 #include "media/cast/cast_sender.h" | 9 #include "media/cast/cast_sender.h" |
| 10 #include "media/cast/logging/logging_defines.h" | 10 #include "media/cast/logging/logging_defines.h" |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 IPC_STRUCT_TRAITS_BEGIN(media::cast::PacketEvent) | 96 IPC_STRUCT_TRAITS_BEGIN(media::cast::PacketEvent) |
| 97 IPC_STRUCT_TRAITS_MEMBER(rtp_timestamp) | 97 IPC_STRUCT_TRAITS_MEMBER(rtp_timestamp) |
| 98 IPC_STRUCT_TRAITS_MEMBER(frame_id) | 98 IPC_STRUCT_TRAITS_MEMBER(frame_id) |
| 99 IPC_STRUCT_TRAITS_MEMBER(max_packet_id) | 99 IPC_STRUCT_TRAITS_MEMBER(max_packet_id) |
| 100 IPC_STRUCT_TRAITS_MEMBER(packet_id) | 100 IPC_STRUCT_TRAITS_MEMBER(packet_id) |
| 101 IPC_STRUCT_TRAITS_MEMBER(size) | 101 IPC_STRUCT_TRAITS_MEMBER(size) |
| 102 IPC_STRUCT_TRAITS_MEMBER(timestamp) | 102 IPC_STRUCT_TRAITS_MEMBER(timestamp) |
| 103 IPC_STRUCT_TRAITS_MEMBER(type) | 103 IPC_STRUCT_TRAITS_MEMBER(type) |
| 104 IPC_STRUCT_TRAITS_END() | 104 IPC_STRUCT_TRAITS_END() |
| 105 | 105 |
| 106 IPC_STRUCT_TRAITS_BEGIN(media::cast::CastLoggingConfig) | |
| 107 IPC_STRUCT_TRAITS_MEMBER(enable_raw_data_collection) | |
| 108 IPC_STRUCT_TRAITS_MEMBER(enable_stats_data_collection) | |
| 109 IPC_STRUCT_TRAITS_END() | |
| 110 | |
| 111 // Cast messages sent from the browser to the renderer. | 106 // Cast messages sent from the browser to the renderer. |
| 112 | 107 |
| 113 IPC_MESSAGE_CONTROL2(CastMsg_ReceivedPacket, | 108 IPC_MESSAGE_CONTROL2(CastMsg_ReceivedPacket, |
| 114 int32 /* channel_id */, | 109 int32 /* channel_id */, |
| 115 media::cast::Packet /* packet */); | 110 media::cast::Packet /* packet */); |
| 116 | 111 |
| 117 IPC_MESSAGE_CONTROL2( | 112 IPC_MESSAGE_CONTROL2( |
| 118 CastMsg_NotifyStatusChange, | 113 CastMsg_NotifyStatusChange, |
| 119 int32 /* channel_id */, | 114 int32 /* channel_id */, |
| 120 media::cast::transport::CastTransportStatus /* status */); | 115 media::cast::transport::CastTransportStatus /* status */); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 media::cast::transport::RtcpSenderInfo /* sender_info */, | 157 media::cast::transport::RtcpSenderInfo /* sender_info */, |
| 163 media::cast::transport::RtcpDlrrReportBlock /* dlrr */, | 158 media::cast::transport::RtcpDlrrReportBlock /* dlrr */, |
| 164 media::cast::transport::RtcpSenderLogMessage /* sender_log */) | 159 media::cast::transport::RtcpSenderLogMessage /* sender_log */) |
| 165 | 160 |
| 166 IPC_MESSAGE_CONTROL3( | 161 IPC_MESSAGE_CONTROL3( |
| 167 CastHostMsg_ResendPackets, | 162 CastHostMsg_ResendPackets, |
| 168 int32 /* channel_id */, | 163 int32 /* channel_id */, |
| 169 bool /* is_audio */, | 164 bool /* is_audio */, |
| 170 media::cast::MissingFramesAndPacketsMap /* missing_packets */) | 165 media::cast::MissingFramesAndPacketsMap /* missing_packets */) |
| 171 | 166 |
| 172 IPC_MESSAGE_CONTROL3( | 167 IPC_MESSAGE_CONTROL2( |
| 173 CastHostMsg_New, | 168 CastHostMsg_New, |
| 174 int32 /* channel_id */, | 169 int32 /* channel_id */, |
| 175 net::IPEndPoint /*remote_end_point*/, | 170 net::IPEndPoint /*remote_end_point*/); |
| 176 media::cast::CastLoggingConfig /* logging_config */); | |
| 177 | 171 |
| 178 IPC_MESSAGE_CONTROL1( | 172 IPC_MESSAGE_CONTROL1( |
| 179 CastHostMsg_Delete, | 173 CastHostMsg_Delete, |
| 180 int32 /* channel_id */); | 174 int32 /* channel_id */); |
| OLD | NEW |