| 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 <stddef.h> |
| 8 |
| 7 #include <string> | 9 #include <string> |
| 8 | 10 |
| 9 #include "base/logging.h" | 11 #include "base/logging.h" |
| 10 #include "cc/debug/rendering_stats_instrumentation.h" | 12 #include "cc/debug/rendering_stats_instrumentation.h" |
| 11 | 13 |
| 12 namespace cc { | 14 namespace cc { |
| 13 | 15 |
| 14 void FakeDelayBasedTimeSourceClient::OnTimerTick() { | 16 void FakeDelayBasedTimeSourceClient::OnTimerTick() { |
| 15 tick_called_ = true; | 17 tick_called_ = true; |
| 16 } | 18 } |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 now_src_(now_src) {} | 220 now_src_(now_src) {} |
| 219 | 221 |
| 220 base::TimeTicks TestScheduler::Now() const { | 222 base::TimeTicks TestScheduler::Now() const { |
| 221 return now_src_->NowTicks(); | 223 return now_src_->NowTicks(); |
| 222 } | 224 } |
| 223 | 225 |
| 224 TestScheduler::~TestScheduler() { | 226 TestScheduler::~TestScheduler() { |
| 225 } | 227 } |
| 226 | 228 |
| 227 } // namespace cc | 229 } // namespace cc |
| OLD | NEW |