| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 | 157 |
| 158 bool maybeCreateArchive(); | 158 bool maybeCreateArchive(); |
| 159 void clearArchiveResources(); | 159 void clearArchiveResources(); |
| 160 | 160 |
| 161 void prepareSubframeArchiveLoadIfNeeded(); | 161 void prepareSubframeArchiveLoadIfNeeded(); |
| 162 void addAllArchiveResources(MHTMLArchive*); | 162 void addAllArchiveResources(MHTMLArchive*); |
| 163 | 163 |
| 164 void willSendRequest(ResourceRequest&, const ResourceResponse&); | 164 void willSendRequest(ResourceRequest&, const ResourceResponse&); |
| 165 void finishedLoading(double finishTime); | 165 void finishedLoading(double finishTime); |
| 166 void mainReceivedError(const ResourceError&); | 166 void mainReceivedError(const ResourceError&); |
| 167 virtual void redirectReceived(Resource*, ResourceRequest&, const Resourc
eResponse&) OVERRIDE; | 167 virtual void redirectReceived(Resource*, ResourceRequest&, const Resourc
eResponse&) OVERRIDE FINAL; |
| 168 virtual void updateRequest(Resource*, const ResourceRequest&) OVERRIDE; | 168 virtual void updateRequest(Resource*, const ResourceRequest&) OVERRIDE F
INAL; |
| 169 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRI
DE; | 169 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRI
DE FINAL; |
| 170 virtual void dataReceived(Resource*, const char* data, int length) OVERR
IDE; | 170 virtual void dataReceived(Resource*, const char* data, int length) OVERR
IDE FINAL; |
| 171 virtual void notifyFinished(Resource*) OVERRIDE; | 171 virtual void notifyFinished(Resource*) OVERRIDE FINAL; |
| 172 | 172 |
| 173 bool maybeLoadEmpty(); | 173 bool maybeLoadEmpty(); |
| 174 | 174 |
| 175 bool isRedirectAfterPost(const ResourceRequest&, const ResourceResponse&
); | 175 bool isRedirectAfterPost(const ResourceRequest&, const ResourceResponse&
); |
| 176 | 176 |
| 177 bool shouldContinueForResponse() const; | 177 bool shouldContinueForResponse() const; |
| 178 | 178 |
| 179 Frame* m_frame; | 179 Frame* m_frame; |
| 180 RefPtr<ResourceFetcher> m_fetcher; | 180 RefPtr<ResourceFetcher> m_fetcher; |
| 181 | 181 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 DocumentLoadTiming m_documentLoadTiming; | 216 DocumentLoadTiming m_documentLoadTiming; |
| 217 | 217 |
| 218 double m_timeOfLastDataReceived; | 218 double m_timeOfLastDataReceived; |
| 219 | 219 |
| 220 friend class ApplicationCacheHost; // for substitute resource delivery | 220 friend class ApplicationCacheHost; // for substitute resource delivery |
| 221 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; | 221 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; |
| 222 }; | 222 }; |
| 223 } | 223 } |
| 224 | 224 |
| 225 #endif // DocumentLoader_h | 225 #endif // DocumentLoader_h |
| OLD | NEW |