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