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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 FrameLoader* frameLoader() const; | 147 FrameLoader* frameLoader() const; |
148 | 148 |
149 void commitIfReady(); | 149 void commitIfReady(); |
150 void commitData(const char* bytes, size_t length); | 150 void commitData(const char* bytes, size_t length); |
151 void setMainDocumentError(const ResourceError&); | 151 void setMainDocumentError(const ResourceError&); |
152 void clearMainResourceLoader(); | 152 void clearMainResourceLoader(); |
153 ResourceLoader* mainResourceLoader() const; | 153 ResourceLoader* mainResourceLoader() const; |
154 void clearMainResourceHandle(); | 154 void clearMainResourceHandle(); |
155 | 155 |
156 bool maybeCreateArchive(); | 156 bool maybeCreateArchive(); |
157 void clearArchiveResources(); | |
158 | 157 |
159 void prepareSubframeArchiveLoadIfNeeded(); | 158 void prepareSubframeArchiveLoadIfNeeded(); |
160 void addAllArchiveResources(MHTMLArchive*); | 159 void addAllArchiveResources(MHTMLArchive*); |
161 | 160 |
162 void willSendRequest(ResourceRequest&, const ResourceResponse&); | 161 void willSendRequest(ResourceRequest&, const ResourceResponse&); |
163 void finishedLoading(double finishTime); | 162 void finishedLoading(double finishTime); |
164 void mainReceivedError(const ResourceError&); | 163 void mainReceivedError(const ResourceError&); |
165 virtual void redirectReceived(Resource*, ResourceRequest&, const Resourc
eResponse&) OVERRIDE FINAL; | 164 virtual void redirectReceived(Resource*, ResourceRequest&, const Resourc
eResponse&) OVERRIDE FINAL; |
166 virtual void updateRequest(Resource*, const ResourceRequest&) OVERRIDE F
INAL; | 165 virtual void updateRequest(Resource*, const ResourceRequest&) OVERRIDE F
INAL; |
167 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRI
DE FINAL; | 166 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRI
DE FINAL; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 DocumentLoadTiming m_documentLoadTiming; | 213 DocumentLoadTiming m_documentLoadTiming; |
215 | 214 |
216 double m_timeOfLastDataReceived; | 215 double m_timeOfLastDataReceived; |
217 | 216 |
218 friend class ApplicationCacheHost; // for substitute resource delivery | 217 friend class ApplicationCacheHost; // for substitute resource delivery |
219 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; | 218 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; |
220 }; | 219 }; |
221 } | 220 } |
222 | 221 |
223 #endif // DocumentLoader_h | 222 #endif // DocumentLoader_h |
OLD | NEW |