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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
161 void InitializeRevalidation(ResourceRequest&, Resource*); | 161 void InitializeRevalidation(ResourceRequest&, Resource*); |
162 Resource* CreateResourceForLoading(FetchParameters&, | 162 Resource* CreateResourceForLoading(FetchParameters&, |
163 const String& charset, | 163 const String& charset, |
164 const ResourceFactory&); | 164 const ResourceFactory&); |
165 void StorePerformanceTimingInitiatorInformation(Resource*); | 165 void StorePerformanceTimingInitiatorInformation(Resource*); |
166 ResourceLoadPriority ComputeLoadPriority( | 166 ResourceLoadPriority ComputeLoadPriority( |
167 Resource::Type, | 167 Resource::Type, |
168 const ResourceRequest&, | 168 const ResourceRequest&, |
169 ResourcePriority::VisibilityStatus, | 169 ResourcePriority::VisibilityStatus, |
170 FetchParameters::DeferOption = FetchParameters::kNoDefer, | 170 FetchParameters::DeferOption = FetchParameters::kNoDefer, |
171 bool is_speculative_preload = false, | 171 bool is_speculative_document_preload = false, |
172 bool is_link_preload = false); | 172 bool is_link_preload = false); |
kinuko
2017/04/21 06:22:25
I prefer using a single enum everywhere rather tha
Pat Meenan
2017/04/21 16:11:02
Done.
| |
173 | 173 |
174 enum PrepareRequestResult { kAbort, kContinue, kBlock }; | 174 enum PrepareRequestResult { kAbort, kContinue, kBlock }; |
175 | 175 |
176 PrepareRequestResult PrepareRequest(FetchParameters&, | 176 PrepareRequestResult PrepareRequest(FetchParameters&, |
177 const ResourceFactory&, | 177 const ResourceFactory&, |
178 const SubstituteData&, | 178 const SubstituteData&, |
179 unsigned long identifier, | 179 unsigned long identifier, |
180 ResourceRequestBlockedReason&); | 180 ResourceRequestBlockedReason&); |
181 | 181 |
182 Resource* ResourceForStaticData(const FetchParameters&, | 182 Resource* ResourceForStaticData(const FetchParameters&, |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
289 } | 289 } |
290 | 290 |
291 private: | 291 private: |
292 Member<ResourceFetcher> loader_; | 292 Member<ResourceFetcher> loader_; |
293 bool previous_state_; | 293 bool previous_state_; |
294 }; | 294 }; |
295 | 295 |
296 } // namespace blink | 296 } // namespace blink |
297 | 297 |
298 #endif // ResourceFetcher_h | 298 #endif // ResourceFetcher_h |
OLD | NEW |