Index: cc/layer_tree_host_impl.h |
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h |
index d4aa8f5a110950fbb61769d4188a6b9b2293efc7..8534d7733985cdc2ebb55a000d59d3e323eb513b 100644 |
--- a/cc/layer_tree_host_impl.h |
+++ b/cc/layer_tree_host_impl.h |
@@ -250,6 +250,11 @@ public: |
void updateRootScrollLayerImplTransform(); |
+ void sendManagedMemoryStats( |
+ size_t memoryVisibleBytes, |
+ size_t memoryVisibleAndNearbyBytes, |
+ size_t memoryUseBytes); |
+ |
FrameRateCounter* fpsCounter() const { return m_fpsCounter.get(); } |
DebugRectHistory* debugRectHistory() const { return m_debugRectHistory.get(); } |
ResourceProvider* resourceProvider() const { return m_resourceProvider.get(); } |
@@ -381,6 +386,10 @@ private: |
size_t m_cumulativeNumLayersDrawn; |
+ size_t m_lastSentMemoryVisibleBytes; |
+ size_t m_lastSentMemoryVisibleAndNearbyBytes; |
+ size_t m_lastSentMemoryUseBytes; |
+ |
DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
}; |