| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 IPC_STRUCT_TRAITS_MEMBER(target_bitrate) | 75 IPC_STRUCT_TRAITS_MEMBER(target_bitrate) |
| 76 IPC_STRUCT_TRAITS_END() | 76 IPC_STRUCT_TRAITS_END() |
| 77 | 77 |
| 78 IPC_STRUCT_TRAITS_BEGIN(media::cast::RtcpCastMessage) | 78 IPC_STRUCT_TRAITS_BEGIN(media::cast::RtcpCastMessage) |
| 79 IPC_STRUCT_TRAITS_MEMBER(media_ssrc) | 79 IPC_STRUCT_TRAITS_MEMBER(media_ssrc) |
| 80 IPC_STRUCT_TRAITS_MEMBER(ack_frame_id) | 80 IPC_STRUCT_TRAITS_MEMBER(ack_frame_id) |
| 81 IPC_STRUCT_TRAITS_MEMBER(target_delay_ms) | 81 IPC_STRUCT_TRAITS_MEMBER(target_delay_ms) |
| 82 IPC_STRUCT_TRAITS_MEMBER(missing_frames_and_packets) | 82 IPC_STRUCT_TRAITS_MEMBER(missing_frames_and_packets) |
| 83 IPC_STRUCT_TRAITS_END() | 83 IPC_STRUCT_TRAITS_END() |
| 84 | 84 |
| 85 IPC_STRUCT_TRAITS_BEGIN(media::cast::RtcpRttReport) | |
| 86 IPC_STRUCT_TRAITS_MEMBER(rtt) | |
| 87 IPC_STRUCT_TRAITS_MEMBER(avg_rtt) | |
| 88 IPC_STRUCT_TRAITS_MEMBER(min_rtt) | |
| 89 IPC_STRUCT_TRAITS_MEMBER(max_rtt) | |
| 90 IPC_STRUCT_TRAITS_END() | |
| 91 | |
| 92 // Cast messages sent from the browser to the renderer. | 85 // Cast messages sent from the browser to the renderer. |
| 93 | 86 |
| 94 IPC_MESSAGE_CONTROL3(CastMsg_Rtt, | 87 IPC_MESSAGE_CONTROL3(CastMsg_Rtt, |
| 95 int32 /* channel_id */, | 88 int32 /* channel_id */, |
| 96 uint32 /* ssrc */, | 89 uint32 /* ssrc */, |
| 97 media::cast::RtcpRttReport /* rtt_report */) | 90 base::TimeDelta /* rtt */) |
| 98 | 91 |
| 99 IPC_MESSAGE_CONTROL3(CastMsg_RtcpCastMessage, | 92 IPC_MESSAGE_CONTROL3(CastMsg_RtcpCastMessage, |
| 100 int32 /* channel_id */, | 93 int32 /* channel_id */, |
| 101 uint32 /* ssrc */, | 94 uint32 /* ssrc */, |
| 102 media::cast::RtcpCastMessage /* cast_message */) | 95 media::cast::RtcpCastMessage /* cast_message */) |
| 103 | 96 |
| 104 IPC_MESSAGE_CONTROL2( | 97 IPC_MESSAGE_CONTROL2( |
| 105 CastMsg_NotifyStatusChange, | 98 CastMsg_NotifyStatusChange, |
| 106 int32 /* channel_id */, | 99 int32 /* channel_id */, |
| 107 media::cast::CastTransportStatus /* status */) | 100 media::cast::CastTransportStatus /* status */) |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 uint32 /* frame_id */) | 146 uint32 /* frame_id */) |
| 154 | 147 |
| 155 IPC_MESSAGE_CONTROL2( | 148 IPC_MESSAGE_CONTROL2( |
| 156 CastHostMsg_New, | 149 CastHostMsg_New, |
| 157 int32 /* channel_id */, | 150 int32 /* channel_id */, |
| 158 net::IPEndPoint /*remote_end_point*/) | 151 net::IPEndPoint /*remote_end_point*/) |
| 159 | 152 |
| 160 IPC_MESSAGE_CONTROL1( | 153 IPC_MESSAGE_CONTROL1( |
| 161 CastHostMsg_Delete, | 154 CastHostMsg_Delete, |
| 162 int32 /* channel_id */) | 155 int32 /* channel_id */) |
| OLD | NEW |