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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 uint32 /* frame_id */) | 142 uint32 /* frame_id */) |
150 | 143 |
151 IPC_MESSAGE_CONTROL2( | 144 IPC_MESSAGE_CONTROL2( |
152 CastHostMsg_New, | 145 CastHostMsg_New, |
153 int32 /* channel_id */, | 146 int32 /* channel_id */, |
154 net::IPEndPoint /*remote_end_point*/) | 147 net::IPEndPoint /*remote_end_point*/) |
155 | 148 |
156 IPC_MESSAGE_CONTROL1( | 149 IPC_MESSAGE_CONTROL1( |
157 CastHostMsg_Delete, | 150 CastHostMsg_Delete, |
158 int32 /* channel_id */) | 151 int32 /* channel_id */) |
OLD | NEW |