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 13 matching lines...) Expand all Loading... |
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 "platform/network/FormData.h" | 31 #include "platform/network/FormData.h" |
32 #include "platform/network/HTTPHeaderMap.h" | 32 #include "platform/network/HTTPHeaderMap.h" |
33 #include "platform/network/ResourceLoadPriority.h" | 33 #include "platform/network/ResourceLoadPriority.h" |
34 #include "weborigin/KURL.h" | 34 #include "platform/weborigin/KURL.h" |
35 #include "wtf/OwnPtr.h" | 35 #include "wtf/OwnPtr.h" |
36 | 36 |
37 namespace WebCore { | 37 namespace WebCore { |
38 | 38 |
39 enum ResourceRequestCachePolicy { | 39 enum ResourceRequestCachePolicy { |
40 UseProtocolCachePolicy, // normal load | 40 UseProtocolCachePolicy, // normal load |
41 ReloadIgnoringCacheData, // reload | 41 ReloadIgnoringCacheData, // reload |
42 ReturnCacheDataElseLoad, // back/forward or encoding change - allow stale da
ta | 42 ReturnCacheDataElseLoad, // back/forward or encoding change - allow stale da
ta |
43 ReturnCacheDataDontLoad // results of a post - allow stale data and only us
e cache | 43 ReturnCacheDataDontLoad // results of a post - allow stale data and only us
e cache |
44 }; | 44 }; |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 int m_requestorProcessID; | 262 int m_requestorProcessID; |
263 int m_appCacheHostID; | 263 int m_appCacheHostID; |
264 ResourceRequest::TargetType m_targetType; | 264 ResourceRequest::TargetType m_targetType; |
265 }; | 265 }; |
266 | 266 |
267 unsigned initializeMaximumHTTPConnectionCountPerHost(); | 267 unsigned initializeMaximumHTTPConnectionCountPerHost(); |
268 | 268 |
269 } // namespace WebCore | 269 } // namespace WebCore |
270 | 270 |
271 #endif // ResourceRequest_h | 271 #endif // ResourceRequest_h |
OLD | NEW |