Index: components/tracing/tracing_messages.h |
diff --git a/components/tracing/tracing_messages.h b/components/tracing/tracing_messages.h |
index ff891a0edaab768491d72a13c00c684c9ec93e4a..f2a36631eb94244620f759fecf26a849afe6624a 100644 |
--- a/components/tracing/tracing_messages.h |
+++ b/components/tracing/tracing_messages.h |
@@ -37,7 +37,7 @@ IPC_MESSAGE_CONTROL0(TracingMsg_DisableMonitoring) |
IPC_MESSAGE_CONTROL0(TracingMsg_CaptureMonitoringSnapshot) |
// Sent to all child processes to get trace buffer fullness. |
-IPC_MESSAGE_CONTROL0(TracingMsg_GetTraceBufferPercentFull) |
+IPC_MESSAGE_CONTROL0(TracingMsg_GetTraceBufferUsage) |
// Sent to all child processes to set watch event. |
IPC_MESSAGE_CONTROL2(TracingMsg_SetWatchEvent, |
@@ -69,7 +69,7 @@ IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceDataCollected, |
IPC_MESSAGE_CONTROL1(TracingHostMsg_MonitoringTraceDataCollected, |
std::string /*json trace data*/) |
-// Reply to TracingMsg_GetTraceBufferPercentFull. |
-IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceBufferPercentFullReply, |
- float /*trace buffer percent full*/) |
- |
+// Reply to TracingMsg_GetTraceBufferUsage. |
+IPC_MESSAGE_CONTROL2(TracingHostMsg_TraceBufferUsageReply, |
+ float /*trace buffer percent full*/, |
+ size_t /*trace buffer usage in number of events*/) |
alph
2014/11/14 10:59:30
nit: Having it contain size and capacity instead w
yurys
2014/11/14 13:03:47
Done.
|