Index: chrome/browser/metrics/tracking_synchronizer.cc |
diff --git a/chrome/browser/metrics/tracking_synchronizer.cc b/chrome/browser/metrics/tracking_synchronizer.cc |
index 635e0fde7e0e813fb9f03e2775cba3fe5e7702de..b955d4bf1c5f602eaf38c88d273666a4145fa97f 100644 |
--- a/chrome/browser/metrics/tracking_synchronizer.cc |
+++ b/chrome/browser/metrics/tracking_synchronizer.cc |
@@ -10,6 +10,7 @@ |
#include "base/threading/thread.h" |
#include "base/tracked_objects.h" |
#include "chrome/browser/metrics/tracking_synchronizer_observer.h" |
+#include "chrome/browser/browser_about_handler.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/profiler_controller.h" |
@@ -239,6 +240,16 @@ void TrackingSynchronizer::OnProfilerDataCollected( |
process_type); |
} |
+#if defined(USE_TCMALLOC) |
+void TrackingSynchronizer::OnTcmallocStatsCollected( |
+ base::ProcessId pid, |
+ content::ProcessType process_type, |
+ const std::string& output) { |
+ AboutTcmallocOutputs::GetInstance()->OnStatsForChildProcess( |
+ pid, process_type, output); |
+} |
+#endif |
+ |
int TrackingSynchronizer::RegisterAndNotifyAllProcesses( |
const base::WeakPtr<TrackingSynchronizerObserver>& callback_object) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |