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

Unified Diff: chrome/common/media/webrtc_logging_messages.h

Issue 218403004: Fix the timestamp generation for webrtc native log. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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: 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..d87acf0b40995aa2fe3b90f6cc6fb02816a1744b 100644
--- a/chrome/common/media/webrtc_logging_messages.h
+++ b/chrome/common/media/webrtc_logging_messages.h
@@ -12,11 +12,16 @@
#define IPC_MESSAGE_START WebRtcLoggingMsgStart
+IPC_STRUCT_BEGIN(WebRtcLoggingMessage)
+ IPC_STRUCT_MEMBER(uint64, timestamp_ms)
+ IPC_STRUCT_MEMBER(std::string, message)
+IPC_STRUCT_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<WebRtcLoggingMessage> /* messages */)
// Notification that the renderer has stopped sending log messages to the
// browser.

Powered by Google App Engine
This is Rietveld 408576698