Index: content/child/child_thread_impl.cc |
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc |
index 8f0d93c67c36a9dbc2261ee635b734c0143e15ea..78af10ec0ac4c1d11c407e4f88a7179e375b0723 100644 |
--- a/content/child/child_thread_impl.cc |
+++ b/content/child/child_thread_impl.cc |
@@ -40,6 +40,7 @@ |
#include "content/child/fileapi/file_system_dispatcher.h" |
#include "content/child/fileapi/webfilesystem_impl.h" |
#include "content/child/geofencing/geofencing_message_filter.h" |
+#include "content/child/memory/child_memory_message_filter.h" |
#include "content/child/mojo/mojo_application.h" |
#include "content/child/notifications/notification_dispatcher.h" |
#include "content/child/power_monitor_broadcast_source.h" |
@@ -430,10 +431,11 @@ void ChildThreadImpl::Init(const Options& options) { |
channel_->AddFilter(geofencing_message_filter_->GetFilter()); |
if (!IsInBrowserProcess()) { |
- // In single process mode, browser-side tracing will cover the whole |
- // process including renderers. |
+ // In single process mode, browser-side tracing and memory will cover the |
+ // whole process including renderers. |
channel_->AddFilter(new tracing::ChildTraceMessageFilter( |
ChildProcess::current()->io_task_runner())); |
+ channel_->AddFilter(new memory::ChildMemoryMessageFilter()); |
} |
// In single process mode we may already have a power monitor |