Index: cc/test/scheduler_test_common.h |
diff --git a/cc/test/scheduler_test_common.h b/cc/test/scheduler_test_common.h |
index b3b2c2dd128b798ca7acd54dca66f4612706cf19..8834e62b7db914b8e7b1b9f9acdb4337ce848521 100644 |
--- a/cc/test/scheduler_test_common.h |
+++ b/cc/test/scheduler_test_common.h |
@@ -62,36 +62,6 @@ class FakeThread : public cc::Thread { |
bool run_pending_task_on_overwrite_; |
}; |
-class FakeTimeSource : public cc::TimeSource { |
- public: |
- FakeTimeSource() : active_(false), client_(0) {} |
- |
- virtual void SetClient(cc::TimeSourceClient* client) OVERRIDE; |
- virtual void SetActive(bool b) OVERRIDE; |
- virtual bool Active() const OVERRIDE; |
- virtual void SetTimebaseAndInterval(base::TimeTicks timebase, |
- base::TimeDelta interval) OVERRIDE {} |
- virtual base::TimeTicks LastTickTime() OVERRIDE; |
- virtual base::TimeTicks NextTickTime() OVERRIDE; |
- |
- void Tick() { |
- ASSERT_TRUE(active_); |
- if (client_) |
- client_->OnTimerTick(); |
- } |
- |
- void SetNextTickTime(base::TimeTicks next_tick_time) { |
- next_tick_time_ = next_tick_time; |
- } |
- |
- protected: |
- virtual ~FakeTimeSource() {} |
- |
- bool active_; |
- base::TimeTicks next_tick_time_; |
- cc::TimeSourceClient* client_; |
-}; |
- |
class FakeDelayBasedTimeSource : public cc::DelayBasedTimeSource { |
public: |
static scoped_refptr<FakeDelayBasedTimeSource> Create( |