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

Unified Diff: cc/test/begin_frame_args_test.h

Issue 387493002: Fixing and enhancing OrderedSimpleTaskRunner to allow 100% deterministic tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lots of changes. Created 6 years, 5 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 e0fe9c069c426a5eaa1f0b8134abc510cb4b5440..ab1b252e7f24a27f33676146e7e361b31c6226d1 100644
--- a/cc/test/begin_frame_args_test.h
+++ b/cc/test/begin_frame_args_test.h
@@ -8,6 +8,7 @@
#include <iosfwd>
#include "base/time/time.h"
+#include "cc/test/ordered_simple_task_runner.h"
#include "cc/output/begin_frame_args.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -19,6 +20,10 @@ BeginFrameArgs CreateBeginFrameArgsForTesting(int64 frame_time,
int64 deadline,
int64 interval);
BeginFrameArgs CreateExpiredBeginFrameArgsForTesting();
+BeginFrameArgs CreateBeginFrameArgsForTesting(
+ OrderedSimpleTaskRunner& task_runner);
brianderson 2014/07/17 05:26:03 Please include a comment describing what these do
mithro-old 2014/07/17 06:51:58 Acknowledged.
mithro-old 2014/08/18 06:11:06 Done.
+BeginFrameArgs CreateExpiredBeginFrameArgsForTesting(
+ OrderedSimpleTaskRunner& task_runner);
// gtest helpers -- these *must* be in the same namespace as the types they
// operate on.

Powered by Google App Engine
This is Rietveld 408576698