Index: chrome/common/media/webrtc_logging_messages.h |
diff --git a/chrome/common/media/webrtc_logging_messages.h b/chrome/common/media/webrtc_logging_messages.h |
index e28cca3e1997a3692a35190567eca6204da7ef14..30ed3975ac2d176de74ccc0c8f30f960849c2d92 100644 |
--- a/chrome/common/media/webrtc_logging_messages.h |
+++ b/chrome/common/media/webrtc_logging_messages.h |
@@ -5,18 +5,22 @@ |
// IPC messages for WebRTC logging. |
// Multiply-included message file, hence no include guard. |
-#include <string> |
- |
#include "base/memory/shared_memory.h" |
+#include "chrome/common/media/webrtc_logging_message_data.h" |
#include "ipc/ipc_message_macros.h" |
#define IPC_MESSAGE_START WebRtcLoggingMsgStart |
+IPC_STRUCT_TRAITS_BEGIN(WebRtcLoggingMessageData) |
+ IPC_STRUCT_TRAITS_MEMBER(timestamp) |
+ IPC_STRUCT_TRAITS_MEMBER(message) |
+IPC_STRUCT_TRAITS_END() |
+ |
// Messages sent from the renderer to the browser. |
// Send log message to add to log. |
-IPC_MESSAGE_CONTROL1(WebRtcLoggingMsg_AddLogMessage, |
- std::string /* message */) |
+IPC_MESSAGE_CONTROL1(WebRtcLoggingMsg_AddLogMessages, |
+ std::vector<WebRtcLoggingMessageData> /* messages */) |
// Notification that the renderer has stopped sending log messages to the |
// browser. |