Index: cc/scheduler/scheduler_state_machine.h |
diff --git a/cc/scheduler/scheduler_state_machine.h b/cc/scheduler/scheduler_state_machine.h |
index 0fbdf412254b3cfba0966a8de7eaa0b50b1ec41f..d92a352f236af27058d8068174c8bd2d04092ac0 100644 |
--- a/cc/scheduler/scheduler_state_machine.h |
+++ b/cc/scheduler/scheduler_state_machine.h |
@@ -16,6 +16,10 @@ |
#include "cc/scheduler/scheduler_settings.h" |
namespace base { |
+namespace debug { |
+class ConvertableToTraceForamt; |
+class TracedValue; |
+} |
class Value; |
} |
@@ -102,7 +106,8 @@ class CC_EXPORT SchedulerStateMachine { |
}; |
static const char* ActionToString(Action action); |
- scoped_ptr<base::Value> AsValue() const; |
+ scoped_refptr<base::debug::ConvertableToTraceFormat> AsValue() const; |
+ void AsValueInto(base::debug::TracedValue* dict) const; |
Action NextAction() const; |
void UpdateState(Action action); |