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

Unified Diff: content/browser/profiler_message_filter.cc

Issue 1468993003: [Eraser] Remove chrome://tcmalloc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address primiano comment, remove declaration from gpu_child_thread Created 5 years, 1 month 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/profiler_message_filter.h ('k') | content/browser/tcmalloc_internals_request_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/profiler_message_filter.cc
diff --git a/content/browser/profiler_message_filter.cc b/content/browser/profiler_message_filter.cc
index 4bd85e21a54d644c71b51c60fd272e1e8d23f745..0b7acf0ed4b020c6fb09fe74a565b744ee7b606e 100644
--- a/content/browser/profiler_message_filter.cc
+++ b/content/browser/profiler_message_filter.cc
@@ -6,7 +6,6 @@
#include "base/tracked_objects.h"
#include "content/browser/profiler_controller_impl.h"
-#include "content/browser/tcmalloc_internals_request_job.h"
#include "content/common/child_process_messages.h"
namespace content {
@@ -26,9 +25,6 @@ bool ProfilerMessageFilter::OnMessageReceived(const IPC::Message& message) {
IPC_BEGIN_MESSAGE_MAP(ProfilerMessageFilter, message)
IPC_MESSAGE_HANDLER(ChildProcessHostMsg_ChildProfilerData,
OnChildProfilerData)
-#if defined(USE_TCMALLOC)
- IPC_MESSAGE_HANDLER(ChildProcessHostMsg_TcmallocStats, OnTcmallocStats)
-#endif
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;
@@ -43,11 +39,4 @@ void ProfilerMessageFilter::OnChildProfilerData(
sequence_number, profiler_data, process_type_);
}
-#if defined(USE_TCMALLOC)
-void ProfilerMessageFilter::OnTcmallocStats(const std::string& output) {
- AboutTcmallocOutputs::GetInstance()->OnStatsForChildProcess(
- peer_pid(), process_type_, output);
-}
-#endif
-
}
« no previous file with comments | « content/browser/profiler_message_filter.h ('k') | content/browser/tcmalloc_internals_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698