| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 void logPreloadStats(); | 115 void logPreloadStats(); |
| 116 void warnUnusedPreloads(); | 116 void warnUnusedPreloads(); |
| 117 | 117 |
| 118 MHTMLArchive* archive() const { return m_archive.get(); } | 118 MHTMLArchive* archive() const { return m_archive.get(); } |
| 119 ArchiveResource* createArchive(Resource*); | 119 ArchiveResource* createArchive(Resource*); |
| 120 | 120 |
| 121 void setDefersLoading(bool); | 121 void setDefersLoading(bool); |
| 122 void stopFetching(); | 122 void stopFetching(); |
| 123 bool isFetching() const; | 123 bool isFetching() const; |
| 124 | 124 |
| 125 bool willFollowRedirect(Resource*, | 125 bool willFollowRedirect(Resource*, ResourceRequest&, const ResourceResponse&); |
| 126 ResourceRequest&, | |
| 127 const ResourceResponse&, | |
| 128 int64_t encodedDataLength); | |
| 129 enum DidFinishLoadingReason { | 126 enum DidFinishLoadingReason { |
| 130 DidFinishLoading, | 127 DidFinishLoading, |
| 131 DidFinishFirstPartInMultipart | 128 DidFinishFirstPartInMultipart |
| 132 }; | 129 }; |
| 133 void didFinishLoading(Resource*, | 130 void didFinishLoading(Resource*, |
| 134 double finishTime, | 131 double finishTime, |
| 135 int64_t encodedDataLength, | 132 int64_t encodedDataLength, |
| 136 DidFinishLoadingReason); | 133 DidFinishLoadingReason); |
| 137 void didFailLoading(Resource*, const ResourceError&); | 134 void didFailLoading(Resource*, const ResourceError&); |
| 138 void didReceiveResponse(Resource*, | 135 void didReceiveResponse(Resource*, |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 } | 287 } |
| 291 | 288 |
| 292 private: | 289 private: |
| 293 Member<ResourceFetcher> m_loader; | 290 Member<ResourceFetcher> m_loader; |
| 294 bool m_previousState; | 291 bool m_previousState; |
| 295 }; | 292 }; |
| 296 | 293 |
| 297 } // namespace blink | 294 } // namespace blink |
| 298 | 295 |
| 299 #endif // ResourceFetcher_h | 296 #endif // ResourceFetcher_h |
| OLD | NEW |