Index: content/child/child_thread.h |
diff --git a/content/child/child_thread.h b/content/child/child_thread.h |
index 6cce020bd41d92f61b29ff014f971c22288a046d..13d5335c82431d9334c20a9400fc84aa43783fc2 100644 |
--- a/content/child/child_thread.h |
+++ b/content/child/child_thread.h |
@@ -17,16 +17,20 @@ |
namespace base { |
class MessageLoop; |
-} |
+ |
+namespace debug { |
+class TraceMemoryController; |
+} // namespace debug |
+} // namespace base |
namespace IPC { |
class SyncChannel; |
class SyncMessageFilter; |
-} |
+} // namespace IPC |
namespace WebKit { |
class WebFrame; |
-} |
+} // namespace WebKit |
namespace content { |
class ChildHistogramMessageFilter; |
@@ -186,6 +190,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); |
}; |