Commit e27051d6 authored by aedla@chromium.org's avatar aedla@chromium.org

Use validating param traits for MediaStreamType enum

BUG=249854

Review URL: https://chromiumcodereview.appspot.com/17253003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208055 0039d316-1c4b-4281-b951-d872f2087c98
parent d30213ce
......@@ -16,7 +16,8 @@
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
#define IPC_MESSAGE_START MediaStreamMsgStart
IPC_ENUM_TRAITS(content::MediaStreamType)
IPC_ENUM_TRAITS_MAX_VALUE(content::MediaStreamType,
content::NUM_MEDIA_TYPES - 1)
IPC_STRUCT_TRAITS_BEGIN(content::StreamOptions)
IPC_STRUCT_TRAITS_MEMBER(audio_type)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment