Index: cc/scheduler/compositor_timing_history.h |
diff --git a/cc/trees/proxy_timing_history.h b/cc/scheduler/compositor_timing_history.h |
similarity index 78% |
rename from cc/trees/proxy_timing_history.h |
rename to cc/scheduler/compositor_timing_history.h |
index aa213b6bdb7dbaca33a8a81a84e56cca1a2bb919..f38c3dbcf9e6955fe5f9cf08529063a2d3013911 100644 |
--- a/cc/trees/proxy_timing_history.h |
+++ b/cc/scheduler/compositor_timing_history.h |
@@ -2,25 +2,26 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CC_TREES_PROXY_TIMING_HISTORY_H_ |
-#define CC_TREES_PROXY_TIMING_HISTORY_H_ |
+#ifndef CC_SCHEDULER_COMPOSITOR_TIMING_HISTORY_H_ |
+#define CC_SCHEDULER_COMPOSITOR_TIMING_HISTORY_H_ |
#include "cc/base/rolling_time_delta_history.h" |
-#include "cc/debug/rendering_stats_instrumentation.h" |
namespace cc { |
-class ProxyTimingHistory { |
+class RenderingStatsInstrumentation; |
+ |
+class CompositorTimingHistory { |
public: |
- explicit ProxyTimingHistory( |
+ explicit CompositorTimingHistory( |
RenderingStatsInstrumentation* rendering_stats_instrumentation); |
- ~ProxyTimingHistory(); |
+ ~CompositorTimingHistory(); |
base::TimeDelta DrawDurationEstimate() const; |
base::TimeDelta BeginMainFrameToCommitDurationEstimate() const; |
base::TimeDelta CommitToActivateDurationEstimate() const; |
- void DidBeginMainFrame(); |
+ void WillBeginMainFrame(); |
void DidCommit(); |
void DidActivateSyncTree(); |
void DidStartDrawing(); |
@@ -43,4 +44,4 @@ class ProxyTimingHistory { |
} // namespace cc |
-#endif // CC_TREES_PROXY_TIMING_HISTORY_H_ |
+#endif // CC_SCHEDULER_COMPOSITOR_TIMING_HISTORY_H_ |