Index: components/tracing/child_trace_message_filter.h |
diff --git a/components/tracing/child_trace_message_filter.h b/components/tracing/child_trace_message_filter.h |
index d3d934097ccfb2f4e21071527b8aa8a1892ce89f..080ea04fe81651a5893bb9c35f9dddcd67154221 100644 |
--- a/components/tracing/child_trace_message_filter.h |
+++ b/components/tracing/child_trace_message_filter.h |
@@ -30,6 +30,8 @@ class ChildTraceMessageFilter : public IPC::MessageFilter { |
const base::trace_event::MemoryDumpRequestArgs& args, |
const base::trace_event::MemoryDumpCallback& callback); |
+ base::MessageLoopProxy* ipc_message_loop() const { return ipc_message_loop_; } |
+ |
protected: |
~ChildTraceMessageFilter() override; |
@@ -65,6 +67,13 @@ class ChildTraceMessageFilter : public IPC::MessageFilter { |
IPC::Sender* sender_; |
base::MessageLoopProxy* ipc_message_loop_; |
+ // guid of the outstanding request (to the Browser's MemoryDumpManager), if |
+ // any. 0 if there is no request pending. |
+ uint64 pending_memory_dump_guid_; |
+ |
+ // callback of the outstanding memory dump request, if any. |
+ base::trace_event::MemoryDumpCallback pending_memory_dump_callback_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ChildTraceMessageFilter); |
}; |