OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 | 5 |
6 #ifndef LinkFetchResource_h | 6 #ifndef LinkFetchResource_h |
7 #define LinkFetchResource_h | 7 #define LinkFetchResource_h |
8 | 8 |
9 #include "core/fetch/Resource.h" | 9 #include "core/fetch/Resource.h" |
10 #include "core/fetch/ResourceClient.h" | 10 #include "core/fetch/ResourceClient.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 : ResourceFactory(type) { } | 29 : ResourceFactory(type) { } |
30 | 30 |
31 Resource* create(const ResourceRequest& request, const String& charset)
const override | 31 Resource* create(const ResourceRequest& request, const String& charset)
const override |
32 { | 32 { |
33 return new LinkFetchResource(request, type()); | 33 return new LinkFetchResource(request, type()); |
34 } | 34 } |
35 }; | 35 }; |
36 LinkFetchResource(const ResourceRequest&, Type); | 36 LinkFetchResource(const ResourceRequest&, Type); |
37 }; | 37 }; |
38 | 38 |
39 } | 39 } // namespace blink |
40 | 40 |
41 #endif // LinkFetchResource_h | 41 #endif // LinkFetchResource_h |
OLD | NEW |