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

Unified Diff: content/child/child_thread.h

Issue 15418002: Record Chrome trace events in tcmalloc heap profiles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move to ChildThread Created 7 years, 5 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.h
diff --git a/content/child/child_thread.h b/content/child/child_thread.h
index 6cce020bd41d92f61b29ff014f971c22288a046d..d563d3a6db72d5f908f941d01ce4cf8dafb72dd4 100644
--- a/content/child/child_thread.h
+++ b/content/child/child_thread.h
@@ -186,6 +186,10 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
base::WeakPtrFactory<ChildThread> channel_connected_factory_;
+ // Observes the trace event system. When tracing is enabled, optionally
+ // starts profiling the tcmalloc heap.
+ scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_;
+
DISALLOW_COPY_AND_ASSIGN(ChildThread);
};

Powered by Google App Engine
This is Rietveld 408576698