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

Unified Diff: media/base/ipc/media_param_traits_macros.h

Issue 2388383002: media: Use IPC_STRUCT_TRAITS to convert SubsampleEntry for mojo (Closed)
Patch Set: fix build issues Created 4 years, 2 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 | « no previous file | media/gpu/ipc/common/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/ipc/media_param_traits_macros.h
diff --git a/media/base/ipc/media_param_traits_macros.h b/media/base/ipc/media_param_traits_macros.h
index b3740f9c814166e83c2fec0d659afbde6b483233..6461ccf112c9cf28bfbd491d0e58938fed64a266 100644
--- a/media/base/ipc/media_param_traits_macros.h
+++ b/media/base/ipc/media_param_traits_macros.h
@@ -7,6 +7,7 @@
#include "ipc/ipc_message_macros.h"
#include "media/base/audio_parameters.h"
+#include "media/base/subsample_entry.h"
#include "media/base/video_capture_types.h"
#include "media/base/video_types.h"
@@ -18,4 +19,9 @@ IPC_ENUM_TRAITS_MAX_VALUE(media::AudioLatency::LatencyType,
IPC_ENUM_TRAITS_MAX_VALUE(media::VideoPixelFormat, media::PIXEL_FORMAT_MAX)
IPC_ENUM_TRAITS_MAX_VALUE(media::VideoPixelStorage, media::PIXEL_STORAGE_MAX)
+IPC_STRUCT_TRAITS_BEGIN(media::SubsampleEntry)
+ IPC_STRUCT_TRAITS_MEMBER(clear_bytes)
+ IPC_STRUCT_TRAITS_MEMBER(cypher_bytes)
+IPC_STRUCT_TRAITS_END()
+
#endif // MEDIA_BASE_IPC_MEDIA_PARAM_TRAITS_MACROS_H_
« no previous file with comments | « no previous file | media/gpu/ipc/common/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698