| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2006, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 void cancelIfNotFinishing(); | 58 void cancelIfNotFinishing(); |
| 59 | 59 |
| 60 virtual bool init(const ResourceRequest&); | 60 virtual bool init(const ResourceRequest&); |
| 61 | 61 |
| 62 void start(); | 62 void start(); |
| 63 | 63 |
| 64 FrameLoader* frameLoader() const; | 64 FrameLoader* frameLoader() const; |
| 65 DocumentLoader* documentLoader() const { return m_documentLoader.get(); } | 65 DocumentLoader* documentLoader() const { return m_documentLoader.get(); } |
| 66 CachedResource* cachedResource() { return m_resource; } | 66 CachedResource* cachedResource() { return m_resource; } |
| 67 const ResourceRequest& originalRequest() const { return m_originalRequest; } | 67 const ResourceRequest& originalRequest() const { return m_originalRequest; } |
| 68 | |
| 69 ResourceError cancelledError(); | |
| 70 ResourceError cannotShowURLError(); | |
| 71 | 68 |
| 72 virtual void setDefersLoading(bool); | 69 virtual void setDefersLoading(bool); |
| 73 bool defersLoading() const { return m_defersLoading; } | 70 bool defersLoading() const { return m_defersLoading; } |
| 74 | 71 |
| 75 unsigned long identifier() const { return m_identifier; } | 72 unsigned long identifier() const { return m_identifier; } |
| 76 | 73 |
| 77 virtual void releaseResources(); | 74 virtual void releaseResources(); |
| 78 const ResourceResponse& response() const; | 75 const ResourceResponse& response() const; |
| 79 | 76 |
| 80 PassRefPtr<ResourceBuffer> resourceData(); | 77 PassRefPtr<ResourceBuffer> resourceData(); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 }; | 163 }; |
| 167 | 164 |
| 168 inline const ResourceResponse& ResourceLoader::response() const | 165 inline const ResourceResponse& ResourceLoader::response() const |
| 169 { | 166 { |
| 170 return m_response; | 167 return m_response; |
| 171 } | 168 } |
| 172 | 169 |
| 173 } | 170 } |
| 174 | 171 |
| 175 #endif | 172 #endif |
| OLD | NEW |