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

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..9b912384ba25037aac5dcb8dfa92bba95d6af5e5 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(base::Time, timestamp)
+ 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