Index: trunk/src/cc/test/scheduler_test_common.cc |
=================================================================== |
--- trunk/src/cc/test/scheduler_test_common.cc (revision 206654) |
+++ trunk/src/cc/test/scheduler_test_common.cc (working copy) |
@@ -35,6 +35,16 @@ |
bool FakeThread::BelongsToCurrentThread() const { return true; } |
+void FakeTimeSource::SetClient(TimeSourceClient* client) { client_ = client; } |
+ |
+void FakeTimeSource::SetActive(bool b) { active_ = b; } |
+ |
+bool FakeTimeSource::Active() const { return active_; } |
+ |
+base::TimeTicks FakeTimeSource::LastTickTime() { return base::TimeTicks(); } |
+ |
+base::TimeTicks FakeTimeSource::NextTickTime() { return base::TimeTicks(); } |
+ |
base::TimeTicks FakeDelayBasedTimeSource::Now() const { return now_; } |
} // namespace cc |