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

Unified Diff: content/child/child_thread_impl.cc

Issue 2820433005: memory-infra: Start disentangling tracing from memory-infra (Closed)
Patch Set: Created 3 years, 8 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: content/child/child_thread_impl.cc
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
index a5718012881174b21d2c8e8401d61b5516f67206..a1a1ee03ebbe958ffb0a7324cd7f74587d40c231 100644
--- a/content/child/child_thread_impl.cc
+++ b/content/child/child_thread_impl.cc
@@ -32,6 +32,7 @@
#include "base/threading/thread_task_runner_handle.h"
#include "base/timer/elapsed_timer.h"
#include "base/trace_event/memory_dump_manager.h"
+#include "base/trace_event/memory_tracing_frontend.h"
#include "base/tracked_objects.h"
#include "build/build_config.h"
#include "components/tracing/child/child_trace_message_filter.h"
@@ -503,6 +504,8 @@ void ChildThreadImpl::Init(const Options& options) {
memory_instrumentation::MemoryDumpManagerDelegateImpl>(config);
base::trace_event::MemoryDumpManager::GetInstance()->Initialize(
std::move(delegate));
+ base::trace_event::MemoryTracingFrontend::Initialize(
+ base::trace_event::MemoryDumpManager::GetInstance());
}
}

Powered by Google App Engine
This is Rietveld 408576698