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

Unified Diff: chrome/common/render_messages.h

Issue 11094041: Merge 161048 - Disable tcmalloc profile files. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1271/src/
Patch Set: Created 8 years, 2 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
Index: chrome/common/render_messages.h
===================================================================
--- chrome/common/render_messages.h (revision 161050)
+++ chrome/common/render_messages.h (working copy)
@@ -260,19 +260,6 @@
std::string /* field trial name */,
std::string /* group name that was assigned. */)
-#if defined(USE_TCMALLOC)
-// Asks the renderer to enable/disable Tcmalloc heap profiling.
-// Note: filename_prefix arg is effectively ignored since the render process
-// will be unable to write files to disk. Instead use WriteTcmallocHeapProfile
-// to write a profile file.
-IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetTcmallocHeapProfiling,
- bool /* enable profiling */,
- std::string /* filename prefix for profiles */)
-// Asks the renderer to write the Tcmalloc heap profile to a file.
-IPC_MESSAGE_CONTROL1(ChromeViewMsg_WriteTcmallocHeapProfile,
- FilePath::StringType /* filepath */)
-#endif
-
// Asks the renderer to send back V8 heap stats.
IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetV8HeapStats)
@@ -548,13 +535,6 @@
int, /* sequence number of Renderer Histograms. */
std::vector<std::string>)
-#if defined USE_TCMALLOC
-// Send back tcmalloc profile to write to a file.
-IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK,
- FilePath::StringType /* filepath */,
- std::string /* heap profile */)
-#endif
-
// Sends back stats about the V8 heap.
IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_V8HeapStats,
int /* size of heap (allocated from the OS) */,
« no previous file with comments | « chrome/browser/renderer_host/chrome_render_message_filter.cc ('k') | chrome/renderer/chrome_render_process_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698