Index: content/common/media/media_log_messages.h |
diff --git a/content/common/media/media_log_messages.h b/content/common/media/media_log_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cda93647e9363ee72907819f27db8f6eb7542ee5 |
--- /dev/null |
+++ b/content/common/media/media_log_messages.h |
@@ -0,0 +1,22 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "base/values.h" |
+#include "ipc/ipc_message_macros.h" |
+#include "media/base/media_log.h" |
+ |
+#define IPC_MESSAGE_START MediaLogMsgStart |
+ |
+IPC_ENUM_TRAITS(media::MediaLog::EventType) |
+ |
+IPC_STRUCT_TRAITS_BEGIN(media::MediaLog::Event) |
+ IPC_STRUCT_TRAITS_MEMBER(renderer) |
+ IPC_STRUCT_TRAITS_MEMBER(id) |
+ IPC_STRUCT_TRAITS_MEMBER(type) |
+ IPC_STRUCT_TRAITS_MEMBER(params) |
+ IPC_STRUCT_TRAITS_MEMBER(time) |
+IPC_STRUCT_TRAITS_END() |
+ |
+IPC_MESSAGE_CONTROL1(MediaLogMsg_MediaEvent, |
+ media::MediaLog::Event /* event */) |