Index: content/renderer/render_thread_impl.h |
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h |
index 3bc7f9dc887ef8e135bdc1605eab2820c33b6e6e..6fa9447c4e151c99166aabc02685226c05d50b4c 100644 |
--- a/content/renderer/render_thread_impl.h |
+++ b/content/renderer/render_thread_impl.h |
@@ -97,6 +97,7 @@ class PeerConnectionTracker; |
class RendererDemuxerAndroid; |
class RendererWebKitPlatformSupportImpl; |
class RenderProcessObserver; |
+class V8HeapStatisticsMonitor; |
class VideoCaptureImplManager; |
class WebGraphicsContext3DCommandBufferImpl; |
class WebRTCIdentityService; |
@@ -198,6 +199,10 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread, |
return webkit_platform_support_.get(); |
} |
+ V8HeapStatisticsMonitor* v8_heap_statistics_monitor() { |
+ return v8_heap_statistics_monitor_.get(); |
+ } |
+ |
IPC::ForwardingMessageFilter* compositor_output_surface_filter() const { |
return compositor_output_surface_filter_.get(); |
} |
@@ -517,6 +522,8 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread, |
// The following flag is used to control layout test specific behavior. |
bool layout_test_mode_; |
+ scoped_ptr<V8HeapStatisticsMonitor> v8_heap_statistics_monitor_; |
+ |
// Timer that periodically calls IdleHandler. |
base::RepeatingTimer<RenderThreadImpl> idle_timer_; |