| 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
|
|
|