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

Unified Diff: cc/scheduler/scheduler.h

Issue 176973007: cc: Also trace the scheduler client state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « no previous file | cc/scheduler/scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler.h
diff --git a/cc/scheduler/scheduler.h b/cc/scheduler/scheduler.h
index 34473ad90db7753bfab2bd2e67c4cdc5959fabb6..5dac4850a9040f3edb8dba6b5680145f8ec48d01 100644
--- a/cc/scheduler/scheduler.h
+++ b/cc/scheduler/scheduler.h
@@ -102,7 +102,7 @@ class CC_EXPORT Scheduler {
bool WillDrawIfNeeded() const;
- base::TimeTicks AnticipatedDrawTime();
+ base::TimeTicks AnticipatedDrawTime() const;
base::TimeTicks LastBeginImplFrameTime();
@@ -110,9 +110,7 @@ class CC_EXPORT Scheduler {
void OnBeginImplFrameDeadline();
void PollForAnticipatedDrawTriggers();
- scoped_ptr<base::Value> StateAsValue() {
- return state_machine_.AsValue().Pass();
- }
+ scoped_ptr<base::Value> StateAsValue() const;
bool IsInsideAction(SchedulerStateMachine::Action action) {
return inside_action_ == action;
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698