Index: chrome/browser/renderer_host/chrome_render_message_filter.cc |
=================================================================== |
--- chrome/browser/renderer_host/chrome_render_message_filter.cc (revision 161051) |
+++ chrome/browser/renderer_host/chrome_render_message_filter.cc (working copy) |
@@ -101,10 +101,6 @@ |
IPC_MESSAGE_HANDLER(ExtensionHostMsg_GenerateUniqueID, |
OnExtensionGenerateUniqueID) |
IPC_MESSAGE_HANDLER(ExtensionHostMsg_UnloadAck, OnExtensionUnloadAck) |
-#if defined(USE_TCMALLOC) |
- IPC_MESSAGE_HANDLER(ChromeViewHostMsg_WriteTcmallocHeapProfile_ACK, |
- OnWriteTcmallocHeapProfile) |
-#endif |
IPC_MESSAGE_HANDLER(ChromeViewHostMsg_AllowDatabase, OnAllowDatabase) |
IPC_MESSAGE_HANDLER(ChromeViewHostMsg_AllowDOMStorage, OnAllowDOMStorage) |
IPC_MESSAGE_HANDLER(ChromeViewHostMsg_AllowFileSystem, OnAllowFileSystem) |
@@ -417,15 +413,6 @@ |
*unique_id = next_unique_id++; |
} |
-#if defined(USE_TCMALLOC) |
-void ChromeRenderMessageFilter::OnWriteTcmallocHeapProfile( |
- const FilePath::StringType& filepath, |
- const std::string& output) { |
- VLOG(0) << "Writing renderer heap profile dump to: " << filepath; |
- file_util::WriteFile(FilePath(filepath), output.c_str(), output.size()); |
-} |
-#endif |
- |
void ChromeRenderMessageFilter::OnAllowDatabase(int render_view_id, |
const GURL& origin_url, |
const GURL& top_origin_url, |