OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 bool maybeCreateArchive(); | 175 bool maybeCreateArchive(); |
176 void clearArchiveResources(); | 176 void clearArchiveResources(); |
177 | 177 |
178 void prepareSubframeArchiveLoadIfNeeded(); | 178 void prepareSubframeArchiveLoadIfNeeded(); |
179 void addAllArchiveResources(MHTMLArchive*); | 179 void addAllArchiveResources(MHTMLArchive*); |
180 | 180 |
181 void willSendRequest(ResourceRequest&, const ResourceResponse&); | 181 void willSendRequest(ResourceRequest&, const ResourceResponse&); |
182 void finishedLoading(double finishTime); | 182 void finishedLoading(double finishTime); |
183 void mainReceivedError(const ResourceError&); | 183 void mainReceivedError(const ResourceError&); |
184 virtual void redirectReceived(Resource*, ResourceRequest&, const Resourc
eResponse&) OVERRIDE; | 184 virtual void redirectReceived(Resource*, ResourceRequest&, const Resourc
eResponse&) OVERRIDE; |
| 185 virtual void updateRequest(Resource*, const ResourceRequest&) OVERRIDE; |
185 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRI
DE; | 186 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRI
DE; |
186 virtual void dataReceived(Resource*, const char* data, int length) OVERR
IDE; | 187 virtual void dataReceived(Resource*, const char* data, int length) OVERR
IDE; |
187 virtual void notifyFinished(Resource*) OVERRIDE; | 188 virtual void notifyFinished(Resource*) OVERRIDE; |
188 | 189 |
189 bool maybeLoadEmpty(); | 190 bool maybeLoadEmpty(); |
190 | 191 |
191 bool isRedirectAfterPost(const ResourceRequest&, const ResourceResponse&
); | 192 bool isRedirectAfterPost(const ResourceRequest&, const ResourceResponse&
); |
192 | 193 |
193 bool shouldContinueForResponse() const; | 194 bool shouldContinueForResponse() const; |
194 | 195 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 DocumentLoadTiming m_documentLoadTiming; | 238 DocumentLoadTiming m_documentLoadTiming; |
238 | 239 |
239 double m_timeOfLastDataReceived; | 240 double m_timeOfLastDataReceived; |
240 | 241 |
241 friend class ApplicationCacheHost; // for substitute resource delivery | 242 friend class ApplicationCacheHost; // for substitute resource delivery |
242 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; | 243 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; |
243 }; | 244 }; |
244 } | 245 } |
245 | 246 |
246 #endif // DocumentLoader_h | 247 #endif // DocumentLoader_h |
OLD | NEW |