| Index: cc/trees/layer_tree_impl.h
|
| diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
|
| index 41b6f65bad608a140b836455b9f97aead4df64da..2db5cfa016ee41b46c756d46a80e8d437f757682 100644
|
| --- a/cc/trees/layer_tree_impl.h
|
| +++ b/cc/trees/layer_tree_impl.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/hash_tables.h"
|
| #include "base/values.h"
|
| +#include "cc/debug/latency_info.h"
|
| #include "cc/layers/layer_impl.h"
|
|
|
| #if defined(COMPILER_GCC)
|
| @@ -197,6 +198,10 @@ class CC_EXPORT LayerTreeImpl {
|
| void DidUpdateScroll();
|
| void DidEndScroll();
|
|
|
| + void SetLatencyInfo(const LatencyInfo& latency_info);
|
| + const LatencyInfo& GetLatencyInfo();
|
| + void ClearLatencyInfo();
|
| +
|
| protected:
|
| explicit LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl);
|
|
|
| @@ -248,6 +253,8 @@ class CC_EXPORT LayerTreeImpl {
|
| // structural differences relative to the active tree.
|
| bool needs_full_tree_sync_;
|
|
|
| + LatencyInfo latency_info_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
|
| };
|
|
|
|
|