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

Side by Side Diff: chrome/common/cast_messages.h

Issue 2113783002: Refactoring: Merge VideoSenderConfig and AudioSenderConfig. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
OLDNEW
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 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
10 #include "media/cast/common/rtp_time.h" 10 #include "media/cast/common/rtp_time.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 media::cast::EncodedFrame::Dependency, 54 media::cast::EncodedFrame::Dependency,
55 media::cast::EncodedFrame::DEPENDENCY_LAST) 55 media::cast::EncodedFrame::DEPENDENCY_LAST)
56 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::Codec, 56 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::Codec,
57 media::cast::CODEC_LAST) 57 media::cast::CODEC_LAST)
58 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::CastTransportStatus, 58 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::CastTransportStatus,
59 media::cast::CAST_TRANSPORT_STATUS_LAST) 59 media::cast::CAST_TRANSPORT_STATUS_LAST)
60 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::CastLoggingEvent, 60 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::CastLoggingEvent,
61 media::cast::kNumOfLoggingEvents) 61 media::cast::kNumOfLoggingEvents)
62 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::EventMediaType, 62 IPC_ENUM_TRAITS_MAX_VALUE(media::cast::EventMediaType,
63 media::cast::EVENT_MEDIA_TYPE_LAST) 63 media::cast::EVENT_MEDIA_TYPE_LAST)
64 IPC_ENUM_TRAITS_MIN_MAX_VALUE(media::cast::RtpPayloadType,
65 media::cast::RtpPayloadType::FIRST,
66 media::cast::RtpPayloadType::LAST)
64 67
65 IPC_STRUCT_TRAITS_BEGIN(media::cast::EncodedFrame) 68 IPC_STRUCT_TRAITS_BEGIN(media::cast::EncodedFrame)
66 IPC_STRUCT_TRAITS_MEMBER(dependency) 69 IPC_STRUCT_TRAITS_MEMBER(dependency)
67 IPC_STRUCT_TRAITS_MEMBER(frame_id) 70 IPC_STRUCT_TRAITS_MEMBER(frame_id)
68 IPC_STRUCT_TRAITS_MEMBER(referenced_frame_id) 71 IPC_STRUCT_TRAITS_MEMBER(referenced_frame_id)
69 IPC_STRUCT_TRAITS_MEMBER(rtp_timestamp) 72 IPC_STRUCT_TRAITS_MEMBER(rtp_timestamp)
70 IPC_STRUCT_TRAITS_MEMBER(reference_time) 73 IPC_STRUCT_TRAITS_MEMBER(reference_time)
71 IPC_STRUCT_TRAITS_MEMBER(new_playout_delay_ms) 74 IPC_STRUCT_TRAITS_MEMBER(new_playout_delay_ms)
72 IPC_STRUCT_TRAITS_MEMBER(data) 75 IPC_STRUCT_TRAITS_MEMBER(data)
73 IPC_STRUCT_TRAITS_END() 76 IPC_STRUCT_TRAITS_END()
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 int32_t /* channel id */, 245 int32_t /* channel id */,
243 media::cast::ReceiverRtcpEventSubscriber::RtcpEvents /* rtcp_events */) 246 media::cast::ReceiverRtcpEventSubscriber::RtcpEvents /* rtcp_events */)
244 247
245 IPC_MESSAGE_CONTROL2( 248 IPC_MESSAGE_CONTROL2(
246 CastHostMsg_AddRtpReceiverReport, 249 CastHostMsg_AddRtpReceiverReport,
247 int32_t /* channel id */, 250 int32_t /* channel id */,
248 media::cast::RtcpReportBlock /* rtp_receiver_report_block */) 251 media::cast::RtcpReportBlock /* rtp_receiver_report_block */)
249 252
250 IPC_MESSAGE_CONTROL1(CastHostMsg_SendRtcpFromRtpReceiver, 253 IPC_MESSAGE_CONTROL1(CastHostMsg_SendRtcpFromRtpReceiver,
251 int32_t /* channel id */) 254 int32_t /* channel id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698