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

Unified Diff: chrome/common/cast_messages.h

Issue 2068133005: Refactoring: Use enum for RtpPayloadType. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: chrome/common/cast_messages.h
diff --git a/chrome/common/cast_messages.h b/chrome/common/cast_messages.h
index 68eecd61e64388e63faa16df4bd6a3e772eea7f0..23e26c2679db102cec82e0cbf4e5c6983295c8b5 100644
--- a/chrome/common/cast_messages.h
+++ b/chrome/common/cast_messages.h
@@ -61,6 +61,8 @@ 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_ENUM_TRAITS_MAX_VALUE(media::cast::RtpPayloadType,
miu 2016/06/20 21:00:27 Because the minimum is non-zero: IPC_ENUM_TRAIT
xjz 2016/06/21 17:24:31 Done.
+ media::cast::RTP_PAYLOAD_VIDEO_LAST)
IPC_STRUCT_TRAITS_BEGIN(media::cast::EncodedFrame)
IPC_STRUCT_TRAITS_MEMBER(dependency)

Powered by Google App Engine
This is Rietveld 408576698