Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1057)

Unified Diff: content/common/child_process_messages.h

Issue 10041017: Show gpu process stats in about:tcmalloc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address nits, call OnStatsForChildProcess directly from IO thread instead of posting to UI Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/tcmalloc_internals_request_job.cc ('k') | content/common/child_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_process_messages.h
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h
index 363c556a572d9766847b8b1fe0b74ae381d48162..a48067b72735947bcc23bef705b8174a38c24e20 100644
--- a/content/common/child_process_messages.h
+++ b/content/common/child_process_messages.h
@@ -92,6 +92,11 @@ IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildProfilerData,
// Sent to child processes to dump their handle table.
IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles)
+#if defined(USE_TCMALLOC)
+// Sent to child process to request tcmalloc stats.
+IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats)
+#endif
+
////////////////////////////////////////////////////////////////////////////////
// Messages sent from the child process to the browser.
@@ -138,3 +143,9 @@ IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts)
IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory,
uint32 /* buffer size */,
base::SharedMemoryHandle)
+
+#if defined(USE_TCMALLOC)
+// Reply to ChildProcessMsg_GetTcmallocStats.
+IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats,
+ std::string /* output */)
+#endif
« no previous file with comments | « content/browser/tcmalloc_internals_request_job.cc ('k') | content/common/child_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698