OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef TestingPlatformSupport_h | 31 #ifndef TestingPlatformSupport_h |
32 #define TestingPlatformSupport_h | 32 #define TestingPlatformSupport_h |
33 | 33 |
34 #include <memory> | 34 #include <memory> |
35 #include <utility> | 35 #include <utility> |
36 #include "platform/PlatformExport.h" | 36 #include "platform/PlatformExport.h" |
37 #include "platform/WebTaskRunner.h" | 37 #include "platform/WebTaskRunner.h" |
| 38 #include "platform/scheduler/child/web_scheduler.h" |
38 #include "platform/wtf/Allocator.h" | 39 #include "platform/wtf/Allocator.h" |
39 #include "platform/wtf/Assertions.h" | 40 #include "platform/wtf/Assertions.h" |
40 #include "platform/wtf/PtrUtil.h" | 41 #include "platform/wtf/PtrUtil.h" |
41 #include "platform/wtf/Vector.h" | 42 #include "platform/wtf/Vector.h" |
42 #include "public/platform/Platform.h" | 43 #include "public/platform/Platform.h" |
43 #include "public/platform/WebCompositorSupport.h" | 44 #include "public/platform/WebCompositorSupport.h" |
44 #include "public/platform/WebScheduler.h" | |
45 #include "public/platform/WebThread.h" | 45 #include "public/platform/WebThread.h" |
46 | 46 |
47 namespace base { | 47 namespace base { |
48 class SimpleTestTickClock; | 48 class SimpleTestTickClock; |
49 class TestDiscardableMemoryAllocator; | 49 class TestDiscardableMemoryAllocator; |
50 } | 50 } |
51 | 51 |
52 namespace cc { | 52 namespace cc { |
53 class OrderedSimpleTaskRunner; | 53 class OrderedSimpleTaskRunner; |
54 } | 54 } |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 discardable_memory_allocator_; | 235 discardable_memory_allocator_; |
236 std::unique_ptr<DummyPlatform> dummy_platform_; | 236 std::unique_ptr<DummyPlatform> dummy_platform_; |
237 std::unique_ptr<cc_blink::WebCompositorSupportImpl> compositor_support_; | 237 std::unique_ptr<cc_blink::WebCompositorSupportImpl> compositor_support_; |
238 TestingPlatformSupport::Config testing_platform_config_; | 238 TestingPlatformSupport::Config testing_platform_config_; |
239 std::unique_ptr<TestingPlatformSupport> testing_platform_support_; | 239 std::unique_ptr<TestingPlatformSupport> testing_platform_support_; |
240 }; | 240 }; |
241 | 241 |
242 } // namespace blink | 242 } // namespace blink |
243 | 243 |
244 #endif // TestingPlatformSupport_h | 244 #endif // TestingPlatformSupport_h |
OLD | NEW |