| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. |
| 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 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 10 matching lines...) Expand all Loading... |
| 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #ifndef ResourceRequest_h | 28 #ifndef ResourceRequest_h |
| 29 #define ResourceRequest_h | 29 #define ResourceRequest_h |
| 30 | 30 |
| 31 #include "FormData.h" | |
| 32 #include "HTTPHeaderMap.h" | |
| 33 #include "KURL.h" | 31 #include "KURL.h" |
| 34 #include "ResourceLoadPriority.h" | 32 #include "core/platform/network/FormData.h" |
| 33 #include "core/platform/network/HTTPHeaderMap.h" |
| 34 #include "core/platform/network/ResourceLoadPriority.h" |
| 35 | 35 |
| 36 #include <wtf/OwnPtr.h> | 36 #include <wtf/OwnPtr.h> |
| 37 | 37 |
| 38 namespace WebCore { | 38 namespace WebCore { |
| 39 | 39 |
| 40 enum ResourceRequestCachePolicy { | 40 enum ResourceRequestCachePolicy { |
| 41 UseProtocolCachePolicy, // normal load | 41 UseProtocolCachePolicy, // normal load |
| 42 ReloadIgnoringCacheData, // reload | 42 ReloadIgnoringCacheData, // reload |
| 43 ReturnCacheDataElseLoad, // back/forward or encoding change - allow stal
e data | 43 ReturnCacheDataElseLoad, // back/forward or encoding change - allow stal
e data |
| 44 ReturnCacheDataDontLoad // results of a post - allow stale data and onl
y use cache | 44 ReturnCacheDataDontLoad // results of a post - allow stale data and onl
y use cache |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 int m_requestorProcessID; | 265 int m_requestorProcessID; |
| 266 int m_appCacheHostID; | 266 int m_appCacheHostID; |
| 267 ResourceRequest::TargetType m_targetType; | 267 ResourceRequest::TargetType m_targetType; |
| 268 }; | 268 }; |
| 269 | 269 |
| 270 unsigned initializeMaximumHTTPConnectionCountPerHost(); | 270 unsigned initializeMaximumHTTPConnectionCountPerHost(); |
| 271 | 271 |
| 272 } // namespace WebCore | 272 } // namespace WebCore |
| 273 | 273 |
| 274 #endif // ResourceRequest_h | 274 #endif // ResourceRequest_h |
| OLD | NEW |