| 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&); |
| 193 | 195 |
| 194 // RevalidationPolicy enum values are used in UMAs https://crbug.com/579496. | 196 // RevalidationPolicy enum values are used in UMAs https://crbug.com/579496. |
| 195 enum RevalidationPolicy { Use, Revalidate, Reload, Load }; | 197 enum RevalidationPolicy { Use, Revalidate, Reload, Load }; |
| 196 RevalidationPolicy determineRevalidationPolicy(Resource::Type, | 198 RevalidationPolicy determineRevalidationPolicy(Resource::Type, |
| 197 const FetchRequest&, | 199 const FetchRequest&, |
| 198 Resource* existingResource, | 200 Resource* existingResource, |
| 199 bool isStaticData) const; | 201 bool isStaticData) const; |
| 200 | 202 |
| 201 void moveCachedNonBlockingResourceToBlocking(Resource*, const FetchRequest&); | 203 void moveCachedNonBlockingResourceToBlocking(Resource*, const FetchRequest&); |
| 202 void moveResourceLoaderToNonBlocking(ResourceLoader*); | 204 void moveResourceLoaderToNonBlocking(ResourceLoader*); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 } | 289 } |
| 288 | 290 |
| 289 private: | 291 private: |
| 290 Member<ResourceFetcher> m_loader; | 292 Member<ResourceFetcher> m_loader; |
| 291 bool m_previousState; | 293 bool m_previousState; |
| 292 }; | 294 }; |
| 293 | 295 |
| 294 } // namespace blink | 296 } // namespace blink |
| 295 | 297 |
| 296 #endif // ResourceFetcher_h | 298 #endif // ResourceFetcher_h |
| OLD | NEW |