| 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 | 150 |
| 151 bool maybeCreateArchive(); | 151 bool maybeCreateArchive(); |
| 152 | 152 |
| 153 void prepareSubframeArchiveLoadIfNeeded(); | 153 void prepareSubframeArchiveLoadIfNeeded(); |
| 154 void addAllArchiveResources(MHTMLArchive*); | 154 void addAllArchiveResources(MHTMLArchive*); |
| 155 | 155 |
| 156 void willSendRequest(ResourceRequest&, const ResourceResponse&); | 156 void willSendRequest(ResourceRequest&, const ResourceResponse&); |
| 157 void finishedLoading(double finishTime); | 157 void finishedLoading(double finishTime); |
| 158 void mainReceivedError(const ResourceError&); | 158 void mainReceivedError(const ResourceError&); |
| 159 void cancelLoadAfterXFrameOptionsOrCSPDenied(const ResourceResponse&); | 159 void cancelLoadAfterXFrameOptionsOrCSPDenied(const ResourceResponse&); |
| 160 virtual void redirectReceived(Resource*, ResourceRequest&, const Resourc
eResponse&) OVERRIDE FINAL; | 160 virtual void redirectReceived(Resource*, ResourceRequest&, const Resourc
eResponse&) override final; |
| 161 virtual void updateRequest(Resource*, const ResourceRequest&) OVERRIDE F
INAL; | 161 virtual void updateRequest(Resource*, const ResourceRequest&) override f
inal; |
| 162 virtual void responseReceived(Resource*, const ResourceResponse&) OVERRI
DE FINAL; | 162 virtual void responseReceived(Resource*, const ResourceResponse&) overri
de final; |
| 163 virtual void dataReceived(Resource*, const char* data, unsigned length)
OVERRIDE FINAL; | 163 virtual void dataReceived(Resource*, const char* data, unsigned length)
override final; |
| 164 virtual void notifyFinished(Resource*) OVERRIDE FINAL; | 164 virtual void notifyFinished(Resource*) override final; |
| 165 | 165 |
| 166 bool maybeLoadEmpty(); | 166 bool maybeLoadEmpty(); |
| 167 | 167 |
| 168 bool isRedirectAfterPost(const ResourceRequest&, const ResourceResponse&
); | 168 bool isRedirectAfterPost(const ResourceRequest&, const ResourceResponse&
); |
| 169 | 169 |
| 170 bool shouldContinueForResponse() const; | 170 bool shouldContinueForResponse() const; |
| 171 | 171 |
| 172 LocalFrame* m_frame; | 172 LocalFrame* m_frame; |
| 173 RefPtrWillBePersistent<ResourceFetcher> m_fetcher; | 173 RefPtrWillBePersistent<ResourceFetcher> m_fetcher; |
| 174 | 174 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 double m_timeOfLastDataReceived; | 209 double m_timeOfLastDataReceived; |
| 210 | 210 |
| 211 friend class ApplicationCacheHost; // for substitute resource delivery | 211 friend class ApplicationCacheHost; // for substitute resource delivery |
| 212 OwnPtrWillBePersistent<ApplicationCacheHost> m_applicationCacheHost; | 212 OwnPtrWillBePersistent<ApplicationCacheHost> m_applicationCacheHost; |
| 213 | 213 |
| 214 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; | 214 RefPtr<ContentSecurityPolicy> m_contentSecurityPolicy; |
| 215 }; | 215 }; |
| 216 } | 216 } |
| 217 | 217 |
| 218 #endif // DocumentLoader_h | 218 #endif // DocumentLoader_h |
| OLD | NEW |