diff options
Diffstat (limited to 'content/common/child_process_messages.h')
-rw-r--r-- | content/common/child_process_messages.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h index 6850da2..1d64bf6 100644 --- a/content/common/child_process_messages.h +++ b/content/common/child_process_messages.h @@ -31,6 +31,9 @@ IPC_MESSAGE_CONTROL0(ChildProcessMsg_BeginTracing) // Sent to all child processes to disable trace event recording. IPC_MESSAGE_CONTROL0(ChildProcessMsg_EndTracing) +// Sent to all child processes to get trace buffer fullness. +IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTraceBufferPercentFull) + //////////////////////////////////////////////////////////////////////////////// // Messages sent from the child process to the browser. @@ -39,10 +42,17 @@ IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) // Reply from child processes acking ChildProcessMsg_TraceChangeStatus(false). IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_EndTracingAck) +// Sent if the trace buffer becomes full. +IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_TraceBufferFull) + // Child processes send trace data back in JSON chunks. IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceDataCollected, std::string /*json trace data*/) +// Reply to ChildProcessMsg_GetTraceBufferPercentFull. +IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceBufferPercentFullReply, + float /*trace buffer percent full*/) + // NaCl's 64 bit Windows build only links with a bare-minimum number of // libraries, and GURL isn't one of them. #if !defined(NACL_WIN64) |