OLD | NEW |
1 /* | 1 /* |
2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) |
3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> | 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> |
4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All | 4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
5 rights reserved. | 5 rights reserved. |
6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ | 6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ |
7 | 7 |
8 This library is free software; you can redistribute it and/or | 8 This library is free software; you can redistribute it and/or |
9 modify it under the terms of the GNU Library General Public | 9 modify it under the terms of the GNU Library General Public |
10 License as published by the Free Software Foundation; either | 10 License as published by the Free Software Foundation; either |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 const String& charset, | 183 const String& charset, |
184 const ResourceFactory&); | 184 const ResourceFactory&); |
185 void storeResourceTimingInitiatorInformation(Resource*); | 185 void storeResourceTimingInitiatorInformation(Resource*); |
186 ResourceLoadPriority computeLoadPriority(Resource::Type, | 186 ResourceLoadPriority computeLoadPriority(Resource::Type, |
187 const FetchRequest&, | 187 const FetchRequest&, |
188 ResourcePriority::VisibilityStatus); | 188 ResourcePriority::VisibilityStatus); |
189 | 189 |
190 Resource* resourceForStaticData(const FetchRequest&, | 190 Resource* resourceForStaticData(const FetchRequest&, |
191 const ResourceFactory&, | 191 const ResourceFactory&, |
192 const SubstituteData&); | 192 const SubstituteData&); |
193 Resource* resourceForBlockedRequest(const FetchRequest&, | |
194 const ResourceFactory&); | |
195 | 193 |
196 // RevalidationPolicy enum values are used in UMAs https://crbug.com/579496. | 194 // RevalidationPolicy enum values are used in UMAs https://crbug.com/579496. |
197 enum RevalidationPolicy { Use, Revalidate, Reload, Load }; | 195 enum RevalidationPolicy { Use, Revalidate, Reload, Load }; |
198 RevalidationPolicy determineRevalidationPolicy(Resource::Type, | 196 RevalidationPolicy determineRevalidationPolicy(Resource::Type, |
199 const FetchRequest&, | 197 const FetchRequest&, |
200 Resource* existingResource, | 198 Resource* existingResource, |
201 bool isStaticData) const; | 199 bool isStaticData) const; |
202 | 200 |
203 void moveCachedNonBlockingResourceToBlocking(Resource*, const FetchRequest&); | 201 void moveCachedNonBlockingResourceToBlocking(Resource*, const FetchRequest&); |
204 void moveResourceLoaderToNonBlocking(ResourceLoader*); | 202 void moveResourceLoaderToNonBlocking(ResourceLoader*); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 } | 287 } |
290 | 288 |
291 private: | 289 private: |
292 Member<ResourceFetcher> m_loader; | 290 Member<ResourceFetcher> m_loader; |
293 bool m_previousState; | 291 bool m_previousState; |
294 }; | 292 }; |
295 | 293 |
296 } // namespace blink | 294 } // namespace blink |
297 | 295 |
298 #endif // ResourceFetcher_h | 296 #endif // ResourceFetcher_h |
OLD | NEW |