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

Unified Diff: cc/test/begin_frame_args_test.h

Issue 2527283003: cc: Introduce BeginFrame sequence numbers and acknowledgements.
Patch Set: Address Brian's comments. Created 4 years 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/surfaces/display_unittest.cc ('k') | cc/test/begin_frame_args_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/begin_frame_args_test.h
diff --git a/cc/test/begin_frame_args_test.h b/cc/test/begin_frame_args_test.h
index d798094d26ddc5a8401ae7d5d406f4f1891208da..6a4e96a1565698096378a320f12e975c87e0b9d5 100644
--- a/cc/test/begin_frame_args_test.h
+++ b/cc/test/begin_frame_args_test.h
@@ -18,17 +18,25 @@ namespace cc {
// Functions for quickly creating BeginFrameArgs
BeginFrameArgs CreateBeginFrameArgsForTesting(
- BeginFrameArgs::CreationLocation location);
+ BeginFrameArgs::CreationLocation location,
+ uint64_t source_id,
+ uint64_t sequence_number);
BeginFrameArgs CreateBeginFrameArgsForTesting(
BeginFrameArgs::CreationLocation location,
+ uint64_t source_id,
+ uint64_t sequence_number,
base::TimeTicks frame_time);
BeginFrameArgs CreateBeginFrameArgsForTesting(
BeginFrameArgs::CreationLocation location,
+ uint64_t source_id,
+ uint64_t sequence_number,
int64_t frame_time,
int64_t deadline,
int64_t interval);
BeginFrameArgs CreateBeginFrameArgsForTesting(
BeginFrameArgs::CreationLocation location,
+ uint64_t source_id,
+ uint64_t sequence_number,
int64_t frame_time,
int64_t deadline,
int64_t interval,
@@ -38,6 +46,8 @@ BeginFrameArgs CreateBeginFrameArgsForTesting(
// OrderSimpleTaskRunner.
BeginFrameArgs CreateBeginFrameArgsForTesting(
BeginFrameArgs::CreationLocation location,
+ uint64_t source_id,
+ uint64_t sequence_number,
base::SimpleTestTickClock* now_src);
// gtest helpers -- these *must* be in the same namespace as the types they
« no previous file with comments | « cc/surfaces/display_unittest.cc ('k') | cc/test/begin_frame_args_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698