Index: chrome/browser/browser_about_handler.cc |
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc |
index 6a4a10f07b2a9e7a5c49a1b3cb6f27827d0a0b67..0d2b8bd1f217b74335e83659a3d04f69326ab9fa 100644 |
--- a/chrome/browser/browser_about_handler.cc |
+++ b/chrome/browser/browser_about_handler.cc |
@@ -202,9 +202,11 @@ AboutTcmallocOutputs::AboutTcmallocOutputs() {} |
AboutTcmallocOutputs::~AboutTcmallocOutputs() {} |
-// Glue between the callback task and the method in the singleton. |
-void AboutTcmallocRendererCallback(base::ProcessId pid, |
- const std::string& output) { |
- AboutTcmallocOutputs::GetInstance()->RendererCallback(pid, output); |
+void AboutTcmallocOutputs::OnStatsForChildProcess( |
+ base::ProcessId pid, content::ProcessType process_type, |
+ const std::string& output) { |
+ std::string header = content::GetProcessTypeNameInEnglish(process_type); |
+ base::StringAppendF(&header, " PID %d", static_cast<int>(pid)); |
+ SetOutput(header, output); |
} |
#endif |