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

Unified Diff: chromecast/common/media/cma_param_traits_macros.h

Issue 814403002: [Chromecast] Add CmaMediaRendererFactory and IPC proxy components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « chromecast/common/media/cma_messages.h ('k') | chromecast/common/media/shared_memory_chunk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/common/media/cma_param_traits_macros.h
diff --git a/chromecast/common/media/cma_param_traits_macros.h b/chromecast/common/media/cma_param_traits_macros.h
index abde3ecd71fd8b3cd8f00d74ff34489c13e9f1ff..72682000ef444881a634812465d530b3dec7b9e7 100644
--- a/chromecast/common/media/cma_param_traits_macros.h
+++ b/chromecast/common/media/cma_param_traits_macros.h
@@ -8,6 +8,7 @@
#ifndef CHROMECAST_COMMON_MEDIA_CMA_PARAM_TRAITS_MACROS_H_
#define CHROMECAST_COMMON_MEDIA_CMA_PARAM_TRAITS_MACROS_H_
+#include "chromecast/common/media/cma_ipc_common.h"
#include "chromecast/media/cma/pipeline/load_type.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/param_traits_macros.h"
@@ -23,6 +24,10 @@ IPC_ENUM_TRAITS_MIN_MAX_VALUE(chromecast::media::LoadType,
chromecast::media::kLoadTypeURL,
chromecast::media::kLoadTypeMediaStream)
+IPC_ENUM_TRAITS_MIN_MAX_VALUE(chromecast::media::TrackId,
+ chromecast::media::kNoTrackId,
+ chromecast::media::kVideoTrackId)
+
IPC_ENUM_TRAITS_MIN_MAX_VALUE(media::AudioCodec,
media::AudioCodec::kUnknownAudioCodec,
media::AudioCodec::kAudioCodecMax)
@@ -46,4 +51,4 @@ IPC_STRUCT_TRAITS_BEGIN(media::PipelineStatistics)
IPC_STRUCT_TRAITS_MEMBER(video_frames_dropped)
IPC_STRUCT_TRAITS_END()
-#endif // CHROMECAST_COMMON_MEDIA_CMA_PARAM_TRAITS_MACROS_H_
+#endif // CHROMECAST_COMMON_MEDIA_CMA_PARAM_TRAITS_MACROS_H_
« no previous file with comments | « chromecast/common/media/cma_messages.h ('k') | chromecast/common/media/shared_memory_chunk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698