Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2614)

Unified Diff: cc/trees/thread_proxy.h

Issue 154163005: cc: Abstract out proxy timing history (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile oops Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/proxy_timing_history.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/thread_proxy.h
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h
index d02569f9ddccd924c7b085a0612abe0af0673abe..c132808e7d8cb60d264073de6c289c0bfaf738b7 100644
--- a/cc/trees/thread_proxy.h
+++ b/cc/trees/thread_proxy.h
@@ -12,11 +12,11 @@
#include "base/time/time.h"
#include "cc/animation/animation_events.h"
#include "cc/base/completion_event.h"
-#include "cc/base/rolling_time_delta_history.h"
#include "cc/resources/resource_update_controller.h"
#include "cc/scheduler/scheduler.h"
#include "cc/trees/layer_tree_host_impl.h"
#include "cc/trees/proxy.h"
+#include "cc/trees/proxy_timing_history.h"
namespace base {
class SingleThreadTaskRunner;
@@ -297,15 +297,7 @@ class ThreadProxy : public Proxy,
base::TimeTicks smoothness_takes_priority_expiration_time;
bool renew_tree_priority_pending;
- RollingTimeDeltaHistory draw_duration_history;
- RollingTimeDeltaHistory begin_main_frame_to_commit_duration_history;
- RollingTimeDeltaHistory commit_to_activate_duration_history;
-
- // Used for computing samples added to
- // begin_main_frame_to_commit_duration_history_ and
- // activation_duration_history_.
- base::TimeTicks begin_main_frame_sent_time;
- base::TimeTicks commit_complete_time;
+ ProxyTimingHistory timing_history;
scoped_ptr<LayerTreeHostImpl> layer_tree_host_impl;
base::WeakPtrFactory<ThreadProxy> weak_factory;
« no previous file with comments | « cc/trees/proxy_timing_history.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698