Index: content/browser/profiler_message_filter.h |
diff --git a/content/browser/profiler_message_filter.h b/content/browser/profiler_message_filter.h |
index 875e45d0aa6c3d8a603b4f1816d83f822b34096a..356b091803dec8b6e830e0bb39bf0a118a0574f0 100644 |
--- a/content/browser/profiler_message_filter.h |
+++ b/content/browser/profiler_message_filter.h |
@@ -7,9 +7,14 @@ |
#include <string> |
+#include "base/profiler/stack_sampling_profiler.h" |
#include "content/public/browser/browser_message_filter.h" |
#include "content/public/common/process_type.h" |
+namespace base { |
+struct CallStackProfileParams; |
+} |
+ |
namespace tracked_objects { |
struct ProcessDataSnapshot; |
} |
@@ -36,6 +41,12 @@ class ProfilerMessageFilter : public BrowserMessageFilter { |
int sequence_number, |
const tracked_objects::ProcessDataSnapshot& profiler_data); |
+ // Handler for stack sampler data profiled on child thread. |
+ void OnChildStackProfilerData( |
+ const base::StackSamplingProfiler::CallStackProfiles& profiler_data, |
+ const base::CallStackProfileParams& params, |
+ base::TimeTicks start_timestamp); |
+ |
#if defined(USE_TCMALLOC) |
void OnTcmallocStats(const std::string& output); |
#endif |