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 THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_TEST_FAKE_RENDERER_SCHEDULE
R_H_ | 5 #ifndef THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_TEST_FAKE_RENDERER_SCHEDULE
R_H_ |
6 #define THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_TEST_FAKE_RENDERER_SCHEDULE
R_H_ | 6 #define THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_TEST_FAKE_RENDERER_SCHEDULE
R_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/single_thread_task_runner.h" |
10 #include "public/platform/scheduler/renderer/renderer_scheduler.h" | 11 #include "public/platform/scheduler/renderer/renderer_scheduler.h" |
11 | 12 |
12 namespace blink { | 13 namespace blink { |
13 namespace scheduler { | 14 namespace scheduler { |
14 | 15 |
15 class FakeRendererScheduler : public RendererScheduler { | 16 class FakeRendererScheduler : public RendererScheduler { |
16 public: | 17 public: |
17 FakeRendererScheduler(); | 18 FakeRendererScheduler(); |
18 ~FakeRendererScheduler() override; | 19 ~FakeRendererScheduler() override; |
19 | 20 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 base::TimeDelta main_thread_responsiveness_threshold) override; | 61 base::TimeDelta main_thread_responsiveness_threshold) override; |
61 | 62 |
62 private: | 63 private: |
63 DISALLOW_COPY_AND_ASSIGN(FakeRendererScheduler); | 64 DISALLOW_COPY_AND_ASSIGN(FakeRendererScheduler); |
64 }; | 65 }; |
65 | 66 |
66 } // namespace scheduler | 67 } // namespace scheduler |
67 } // namespace blink | 68 } // namespace blink |
68 | 69 |
69 #endif // THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_TEST_FAKE_RENDERER_SCHED
ULER_H_ | 70 #endif // THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_TEST_FAKE_RENDERER_SCHED
ULER_H_ |
OLD | NEW |