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

Unified Diff: cc/output/begin_frame_args.h

Issue 270703004: Making BeginFrameArgs work with TRACE_EVENT system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using AsValue rather than StateAsValue. Created 6 years, 7 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
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..66d77cd94a56a07380ba74589235953d8ad7f565 100644
--- a/cc/output/begin_frame_args.h
+++ b/cc/output/begin_frame_args.h
@@ -6,6 +6,7 @@
#define CC_OUTPUT_BEGIN_FRAME_ARGS_H_
#include "base/time/time.h"
+#include "base/values.h"
#include "cc/base/cc_export.h"
namespace cc {
@@ -39,6 +40,8 @@ struct CC_EXPORT BeginFrameArgs {
bool IsValid() const { return interval >= base::TimeDelta(); }
+ scoped_ptr<base::Value> AsValue() const;
+
base::TimeTicks frame_time;
base::TimeTicks deadline;
base::TimeDelta interval;

Powered by Google App Engine
This is Rietveld 408576698