Chromium Code Reviews| Index: cc/output/begin_frame_args.h |
| diff --git a/cc/output/begin_frame_args.h b/cc/output/begin_frame_args.h |
| index 025a4075c25e6b84ab9597dabac7e5c83b34ea1b..b845d4428948a70c4d299dac560ed96034626fc4 100644 |
| --- a/cc/output/begin_frame_args.h |
| +++ b/cc/output/begin_frame_args.h |
| @@ -5,7 +5,9 @@ |
| #ifndef CC_OUTPUT_BEGIN_FRAME_ARGS_H_ |
| #define CC_OUTPUT_BEGIN_FRAME_ARGS_H_ |
| +#include "base/debug/trace_event.h" |
| #include "base/time/time.h" |
| +#include "base/values.h" |
| #include "cc/base/cc_export.h" |
| namespace cc { |
| @@ -39,6 +41,9 @@ struct CC_EXPORT BeginFrameArgs { |
| bool IsValid() const { return interval >= base::TimeDelta(); } |
| + scoped_ptr<base::Value> AsValue() const; |
| + scoped_refptr<base::debug::ConvertableToTraceFormat> AsTrace() const; |
|
brianderson
2014/05/08 17:03:16
How is AsTrace() different than AsValue()?
mithro-old
2014/05/08 19:44:23
AsTrace is used for giving to the trace system.
|
| + |
| base::TimeTicks frame_time; |
| base::TimeTicks deadline; |
| base::TimeDelta interval; |