| Index: content/browser/tracing/tracing_controller_impl.cc
|
| diff --git a/content/browser/tracing/tracing_controller_impl.cc b/content/browser/tracing/tracing_controller_impl.cc
|
| index 438f1269ac73d969e0727c43ab01f06e3c3b940c..684bea8ec49b574b7ce45586d9aee86388c0e645 100644
|
| --- a/content/browser/tracing/tracing_controller_impl.cc
|
| +++ b/content/browser/tracing/tracing_controller_impl.cc
|
| @@ -12,7 +12,6 @@
|
| #include "base/sys_info.h"
|
| #include "base/trace_event/trace_event.h"
|
| #include "build/build_config.h"
|
| -#include "components/tracing/process_metrics_memory_dump_provider.h"
|
| #include "content/browser/tracing/file_tracing_provider_impl.h"
|
| #include "content/browser/tracing/power_tracing_agent.h"
|
| #include "content/browser/tracing/trace_message_filter.h"
|
| @@ -557,13 +556,6 @@
|
| return;
|
| }
|
|
|
| -#if defined(OS_LINUX)
|
| - // On Linux the browser process dumps process metrics for child process due to
|
| - // sandbox.
|
| - tracing::ProcessMetricsMemoryDumpProvider::RegisterForProcess(
|
| - trace_message_filter->peer_pid());
|
| -#endif
|
| -
|
| trace_message_filters_.insert(trace_message_filter);
|
| if (can_cancel_watch_event()) {
|
| trace_message_filter->SendSetWatchEvent(watch_category_name_,
|
| @@ -591,11 +583,6 @@
|
| make_scoped_refptr(trace_message_filter)));
|
| return;
|
| }
|
| -
|
| -#if defined(OS_LINUX)
|
| - tracing::ProcessMetricsMemoryDumpProvider::UnregisterForProcess(
|
| - trace_message_filter->peer_pid());
|
| -#endif
|
|
|
| // If a filter is removed while a response from that filter is pending then
|
| // simulate the response. Otherwise the response count will be wrong and the
|
|
|