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