Index: content/public/browser/profiler_subscriber.h |
diff --git a/content/public/browser/profiler_subscriber.h b/content/public/browser/profiler_subscriber.h |
index f6679d9000620566cb619f9021b5b04f511d0447..feb749aebff2e03de0d3c3ef8b4ff8ebf75af4ee 100644 |
--- a/content/public/browser/profiler_subscriber.h |
+++ b/content/public/browser/profiler_subscriber.h |
@@ -5,6 +5,7 @@ |
#ifndef CONTENT_PUBLIC_BROWSER_PROFILER_SUBSCRIBER_H_ |
#define CONTENT_PUBLIC_BROWSER_PROFILER_SUBSCRIBER_H_ |
+#include "base/process.h" |
#include "content/common/content_export.h" |
#include "content/public/common/process_type.h" |
@@ -31,6 +32,13 @@ class CONTENT_EXPORT ProfilerSubscriber { |
int sequence_number, |
const tracked_objects::ProcessDataSnapshot& profiler_data, |
ProcessType process_type) = 0; |
+ |
+#if defined(USE_TCMALLOC) |
+ virtual void OnTcmallocStatsCollected(base::ProcessId pid, |
+ ProcessType process_type, |
+ const std::string& output) = 0; |
+#endif |
+ |
}; |
} // namespace content |