OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 MockResource_h | 5 #ifndef MockResource_h |
6 #define MockResource_h | 6 #define MockResource_h |
7 | 7 |
8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
9 #include "platform/loader/fetch/Resource.h" | 9 #include "platform/loader/fetch/Resource.h" |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 class MockResource final : public Resource { | 21 class MockResource final : public Resource { |
22 public: | 22 public: |
23 static MockResource* fetch(FetchRequest&, ResourceFetcher*); | 23 static MockResource* fetch(FetchRequest&, ResourceFetcher*); |
24 static MockResource* create(const ResourceRequest&); | 24 static MockResource* create(const ResourceRequest&); |
25 MockResource(const ResourceRequest&, const ResourceLoaderOptions&); | 25 MockResource(const ResourceRequest&, const ResourceLoaderOptions&); |
26 }; | 26 }; |
27 | 27 |
28 } // namespace blink | 28 } // namespace blink |
29 | 29 |
30 #endif | 30 #endif |
OLD | NEW |