OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "cc/test/scheduler_test_common.h" | 5 #include "cc/test/scheduler_test_common.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace WebKitTests { | 9 namespace cc { |
10 | 10 |
11 void FakeTimeSourceClient::onTimerTick() | 11 void FakeTimeSourceClient::onTimerTick() |
12 { | 12 { |
13 m_tickCalled = true; | 13 m_tickCalled = true; |
14 } | 14 } |
15 | 15 |
16 FakeThread::FakeThread() | 16 FakeThread::FakeThread() |
17 { | 17 { |
18 reset(); | 18 reset(); |
19 } | 19 } |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 base::TimeTicks FakeTimeSource::nextTickTime() | 72 base::TimeTicks FakeTimeSource::nextTickTime() |
73 { | 73 { |
74 return base::TimeTicks(); | 74 return base::TimeTicks(); |
75 } | 75 } |
76 | 76 |
77 base::TimeTicks FakeDelayBasedTimeSource::now() const | 77 base::TimeTicks FakeDelayBasedTimeSource::now() const |
78 { | 78 { |
79 return m_now; | 79 return m_now; |
80 } | 80 } |
81 | 81 |
82 } | 82 } // namespace cc |
OLD | NEW |