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

Unified Diff: chrome/common/cast_messages.h

Issue 279833003: Cast: Add missing enum and PacketEvent field to cast_messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/renderer/media/cast_ipc_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/cast_messages.h
diff --git a/chrome/common/cast_messages.h b/chrome/common/cast_messages.h
index 4191adc1bf0e8e66599bfe866a4a484cd9836ba3..13632e124becbd20855fabe80a4c694bc376a739 100644
--- a/chrome/common/cast_messages.h
+++ b/chrome/common/cast_messages.h
@@ -27,6 +27,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)
@@ -101,6 +103,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.
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/renderer/media/cast_ipc_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698