| 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 169 |
| 170 void setRequest(const ResourceRequest&); | 170 void setRequest(const ResourceRequest&); |
| 171 | 171 |
| 172 void commitIfReady(); | 172 void commitIfReady(); |
| 173 void commitData(const char* bytes, size_t length); | 173 void commitData(const char* bytes, size_t length); |
| 174 void setMainDocumentError(const ResourceError&); | 174 void setMainDocumentError(const ResourceError&); |
| 175 void clearMainResourceLoader(); | 175 void clearMainResourceLoader(); |
| 176 ResourceLoader* mainResourceLoader() const; | 176 ResourceLoader* mainResourceLoader() const; |
| 177 void clearMainResourceHandle(); | 177 void clearMainResourceHandle(); |
| 178 | 178 |
| 179 void createArchive(); | 179 bool createArchive(); |
| 180 void clearArchiveResources(); | 180 void clearArchiveResources(); |
| 181 | 181 |
| 182 void prepareSubframeArchiveLoadIfNeeded(); | 182 void prepareSubframeArchiveLoadIfNeeded(); |
| 183 void addAllArchiveResources(MHTMLArchive*); | 183 void addAllArchiveResources(MHTMLArchive*); |
| 184 | 184 |
| 185 void willSendRequest(ResourceRequest&, const ResourceResponse&); | 185 void willSendRequest(ResourceRequest&, const ResourceResponse&); |
| 186 void finishedLoading(double finishTime); | 186 void finishedLoading(double finishTime); |
| 187 void mainReceivedError(const ResourceError&); | 187 void mainReceivedError(const ResourceError&); |
| 188 virtual void redirectReceived(Resource*, ResourceRequest&, const Resourc
eResponse&) OVERRIDE; | 188 virtual void redirectReceived(Resource*, ResourceRequest&, const Resourc
eResponse&) OVERRIDE; |
| 189 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRI
DE; | 189 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRI
DE; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 DocumentLoadTiming m_documentLoadTiming; | 241 DocumentLoadTiming m_documentLoadTiming; |
| 242 | 242 |
| 243 double m_timeOfLastDataReceived; | 243 double m_timeOfLastDataReceived; |
| 244 | 244 |
| 245 friend class ApplicationCacheHost; // for substitute resource delivery | 245 friend class ApplicationCacheHost; // for substitute resource delivery |
| 246 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; | 246 OwnPtr<ApplicationCacheHost> m_applicationCacheHost; |
| 247 }; | 247 }; |
| 248 } | 248 } |
| 249 | 249 |
| 250 #endif // DocumentLoader_h | 250 #endif // DocumentLoader_h |
| OLD | NEW |