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

Unified Diff: content/common/media/media_log_messages.h

Issue 7480032: Plumb media data from renderers up to MediaInternals in the browser process. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Much cleanup and making MediaLog thread safe. Created 9 years, 5 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: 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 */)

Powered by Google App Engine
This is Rietveld 408576698