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 LinkPreloadResourceClients_h | 5 #ifndef LinkPreloadResourceClients_h |
6 #define LinkPreloadResourceClients_h | 6 #define LinkPreloadResourceClients_h |
7 | 7 |
8 #include "core/fetch/CSSStyleSheetResource.h" | 8 #include "core/fetch/CSSStyleSheetResource.h" |
9 #include "core/fetch/FontResource.h" | 9 #include "core/fetch/FontResource.h" |
10 #include "core/fetch/ImageResource.h" | 10 #include "core/fetch/ImageResource.h" |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 } | 205 } |
206 | 206 |
207 private: | 207 private: |
208 LinkPreloadRawResourceClient(LinkLoader* loader, RawResource* resource) | 208 LinkPreloadRawResourceClient(LinkLoader* loader, RawResource* resource) |
209 : LinkPreloadResourceClient(loader) | 209 : LinkPreloadResourceClient(loader) |
210 { | 210 { |
211 setResource(resource); | 211 setResource(resource); |
212 } | 212 } |
213 }; | 213 }; |
214 | 214 |
215 } | 215 } // namespace blink |
216 | 216 |
217 #endif // LinkPreloadResourceClients_h | 217 #endif // LinkPreloadResourceClients_h |
OLD | NEW |