OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_ | 5 #ifndef CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_ |
6 #define CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_ | 6 #define CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "components/scheduler/renderer/renderer_scheduler.h" | 9 #include "components/scheduler/renderer/renderer_scheduler.h" |
9 | 10 |
10 namespace content { | 11 namespace content { |
11 | 12 |
12 class FakeRendererScheduler : public scheduler::RendererScheduler { | 13 class FakeRendererScheduler : public scheduler::RendererScheduler { |
13 public: | 14 public: |
14 FakeRendererScheduler(); | 15 FakeRendererScheduler(); |
15 ~FakeRendererScheduler() override; | 16 ~FakeRendererScheduler() override; |
16 | 17 |
17 // RendererScheduler implementation. | 18 // RendererScheduler implementation. |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 double CurrentTimeSeconds() const override; | 56 double CurrentTimeSeconds() const override; |
56 double MonotonicallyIncreasingTimeSeconds() const override; | 57 double MonotonicallyIncreasingTimeSeconds() const override; |
57 | 58 |
58 private: | 59 private: |
59 DISALLOW_COPY_AND_ASSIGN(FakeRendererScheduler); | 60 DISALLOW_COPY_AND_ASSIGN(FakeRendererScheduler); |
60 }; | 61 }; |
61 | 62 |
62 } // namespace content | 63 } // namespace content |
63 | 64 |
64 #endif // CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_ | 65 #endif // CONTENT_TEST_FAKE_RENDERER_SCHEDULER_H_ |
OLD | NEW |