summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorimcheng@chromium.org <imcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 00:14:12 +0000
committerimcheng@chromium.org <imcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 00:14:12 +0000
commitfb569a21367118278c4f01eed436ce1f913f48be (patch)
tree34668b5012c3a936551060be317a8f039014e353 /chrome/common
parent5b80944b7b87f1f0f105711198d731d5ec3b692e (diff)
downloadchromium_src-fb569a21367118278c4f01eed436ce1f913f48be.zip
chromium_src-fb569a21367118278c4f01eed436ce1f913f48be.tar.gz
chromium_src-fb569a21367118278c4f01eed436ce1f913f48be.tar.bz2
Cast: Add missing enum and PacketEvent field to cast_messages.
Due to the event type refactoring landed earlier, an enum field EventMediaType was added to PacketEvent. PacketEvent is transmitted via IPC from browser to renderer so we need to add them to the IPC definition as well. Also fix compile in cast_sender_app. Review URL: https://codereview.chromium.org/279833003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270262 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/cast_messages.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/cast_messages.h b/chrome/common/cast_messages.h
index 1589216..a3276ab6 100644
--- a/chrome/common/cast_messages.h
+++ b/chrome/common/cast_messages.h
@@ -25,6 +25,8 @@ IPC_ENUM_TRAITS_MAX_VALUE(media::cast::transport::CastTransportStatus,
media::cast::transport::CAST_TRANSPORT_STATUS_LAST)
IPC_ENUM_TRAITS_MAX_VALUE(media::cast::CastLoggingEvent,
media::cast::kNumOfLoggingEvents)
+IPC_ENUM_TRAITS_MAX_VALUE(media::cast::EventMediaType,
+ media::cast::EVENT_MEDIA_TYPE_LAST)
IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::EncodedAudioFrame)
IPC_STRUCT_TRAITS_MEMBER(codec)
@@ -94,6 +96,7 @@ IPC_STRUCT_TRAITS_BEGIN(media::cast::PacketEvent)
IPC_STRUCT_TRAITS_MEMBER(size)
IPC_STRUCT_TRAITS_MEMBER(timestamp)
IPC_STRUCT_TRAITS_MEMBER(type)
+ IPC_STRUCT_TRAITS_MEMBER(media_type)
IPC_STRUCT_TRAITS_END()
// Cast messages sent from the browser to the renderer.