| Index: content/browser/profiler_message_filter.cc
|
| diff --git a/content/browser/profiler_message_filter.cc b/content/browser/profiler_message_filter.cc
|
| index 4bd85e21a54d644c71b51c60fd272e1e8d23f745..5357cc7429150c1a1daebf1bba59671bfaba42c6 100644
|
| --- a/content/browser/profiler_message_filter.cc
|
| +++ b/content/browser/profiler_message_filter.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "content/browser/profiler_message_filter.h"
|
|
|
| +#include "base/metrics/call_stack_profile_params.h"
|
| #include "base/tracked_objects.h"
|
| #include "content/browser/profiler_controller_impl.h"
|
| #include "content/browser/tcmalloc_internals_request_job.h"
|
| @@ -26,6 +27,8 @@ bool ProfilerMessageFilter::OnMessageReceived(const IPC::Message& message) {
|
| IPC_BEGIN_MESSAGE_MAP(ProfilerMessageFilter, message)
|
| IPC_MESSAGE_HANDLER(ChildProcessHostMsg_ChildProfilerData,
|
| OnChildProfilerData)
|
| + IPC_MESSAGE_HANDLER(ChildProcessHostMsg_ChildStackProfilerData,
|
| + OnChildStackProfilerData)
|
| #if defined(USE_TCMALLOC)
|
| IPC_MESSAGE_HANDLER(ChildProcessHostMsg_TcmallocStats, OnTcmallocStats)
|
| #endif
|
| @@ -43,6 +46,11 @@ void ProfilerMessageFilter::OnChildProfilerData(
|
| sequence_number, profiler_data, process_type_);
|
| }
|
|
|
| +void ProfilerMessageFilter::OnChildStackProfilerData(
|
| + const base::StackSamplingProfiler::CallStackProfiles& profiler_data,
|
| + const base::CallStackProfileParams& params,
|
| + base::TimeTicks start_timestamp) {}
|
| +
|
| #if defined(USE_TCMALLOC)
|
| void ProfilerMessageFilter::OnTcmallocStats(const std::string& output) {
|
| AboutTcmallocOutputs::GetInstance()->OnStatsForChildProcess(
|
|
|