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

Unified Diff: cc/test/begin_frame_args_test.h

Issue 267783004: Refactoring the way begin frame sources inside scheduler work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Trying an alternative to OnMissedBeginFrames method. Created 6 years, 3 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/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 1c75c3775f5845b6ed2c0eae1bb8f0bd6bcb819b..7e3f001150d763a242d79f2fe7f681d8ec20e8a4 100644
--- a/cc/test/begin_frame_args_test.h
+++ b/cc/test/begin_frame_args_test.h
@@ -17,9 +17,11 @@ namespace cc {
// Functions for quickly creating BeginFrameArgs
BeginFrameArgs CreateBeginFrameArgsForTesting();
BeginFrameArgs CreateBeginFrameArgsForTesting(base::TimeTicks frame_time);
-BeginFrameArgs CreateBeginFrameArgsForTesting(int64 frame_time,
- int64 deadline,
- int64 interval);
+BeginFrameArgs CreateBeginFrameArgsForTesting(
+ int64 frame_time,
+ int64 deadline,
+ int64 interval,
+ BeginFrameArgs::BeginFrameArgsType type = BeginFrameArgs::NORMAL);
brianderson 2014/09/27 00:41:40 Default arguments not allowed.
mithro-old 2014/09/30 08:30:01 Done.
BeginFrameArgs CreateExpiredBeginFrameArgsForTesting();
// Creates a BeginFrameArgs using the fake Now value stored on the

Powered by Google App Engine
This is Rietveld 408576698