OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 FetchTestingPlatformSupport_h | 5 #ifndef FetchTestingPlatformSupport_h |
6 #define FetchTestingPlatformSupport_h | 6 #define FetchTestingPlatformSupport_h |
7 | 7 |
| 8 #include <memory> |
8 #include "platform/heap/Persistent.h" | 9 #include "platform/heap/Persistent.h" |
9 #include "platform/testing/TestingPlatformSupport.h" | 10 #include "platform/testing/TestingPlatformSupport.h" |
10 #include <memory> | |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class MockFetchContext; | 14 class MockFetchContext; |
15 | 15 |
16 class FetchTestingPlatformSupport | 16 class FetchTestingPlatformSupport |
17 : public TestingPlatformSupportWithMockScheduler { | 17 : public TestingPlatformSupportWithMockScheduler { |
18 public: | 18 public: |
19 FetchTestingPlatformSupport(); | 19 FetchTestingPlatformSupport(); |
20 ~FetchTestingPlatformSupport() override; | 20 ~FetchTestingPlatformSupport() override; |
(...skipping 10 matching lines...) Expand all Loading... |
31 | 31 |
32 Persistent<MockFetchContext> m_context; | 32 Persistent<MockFetchContext> m_context; |
33 std::unique_ptr<WebURLLoaderMockFactory> m_urlLoaderMockFactory; | 33 std::unique_ptr<WebURLLoaderMockFactory> m_urlLoaderMockFactory; |
34 | 34 |
35 DISALLOW_COPY_AND_ASSIGN(FetchTestingPlatformSupport); | 35 DISALLOW_COPY_AND_ASSIGN(FetchTestingPlatformSupport); |
36 }; | 36 }; |
37 | 37 |
38 } // namespace blink | 38 } // namespace blink |
39 | 39 |
40 #endif | 40 #endif |
OLD | NEW |