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 19 matching lines...) Expand all Loading... |
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/HTTPParsers.h" | 33 #include "platform/network/HTTPParsers.h" |
34 #include "platform/network/ResourceLoadPriority.h" | 34 #include "platform/network/ResourceLoadPriority.h" |
35 #include "platform/weborigin/KURL.h" | 35 #include "platform/weborigin/KURL.h" |
36 #include "platform/weborigin/Referrer.h" | 36 #include "platform/weborigin/Referrer.h" |
37 #include "public/platform/WebURLRequest.h" | 37 #include "public/platform/WebURLRequest.h" |
38 #include "wtf/OwnPtr.h" | 38 #include "wtf/OwnPtr.h" |
39 | 39 |
40 namespace WebCore { | 40 namespace blink { |
41 | 41 |
42 enum ResourceRequestCachePolicy { | 42 enum ResourceRequestCachePolicy { |
43 UseProtocolCachePolicy, // normal load | 43 UseProtocolCachePolicy, // normal load |
44 ReloadIgnoringCacheData, // reload | 44 ReloadIgnoringCacheData, // reload |
45 ReturnCacheDataElseLoad, // back/forward or encoding change - allow stale da
ta | 45 ReturnCacheDataElseLoad, // back/forward or encoding change - allow stale da
ta |
46 ReturnCacheDataDontLoad, // results of a post - allow stale data and only us
e cache | 46 ReturnCacheDataDontLoad, // results of a post - allow stale data and only us
e cache |
47 ReloadBypassingCache, // end-to-end reload | 47 ReloadBypassingCache, // end-to-end reload |
48 }; | 48 }; |
49 | 49 |
50 struct CrossThreadResourceRequestData; | 50 struct CrossThreadResourceRequestData; |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 int m_requestorID; | 255 int m_requestorID; |
256 int m_requestorProcessID; | 256 int m_requestorProcessID; |
257 int m_appCacheHostID; | 257 int m_appCacheHostID; |
258 blink::WebURLRequest::RequestContext m_requestContext; | 258 blink::WebURLRequest::RequestContext m_requestContext; |
259 blink::WebURLRequest::FrameType m_frameType; | 259 blink::WebURLRequest::FrameType m_frameType; |
260 ReferrerPolicy m_referrerPolicy; | 260 ReferrerPolicy m_referrerPolicy; |
261 }; | 261 }; |
262 | 262 |
263 unsigned initializeMaximumHTTPConnectionCountPerHost(); | 263 unsigned initializeMaximumHTTPConnectionCountPerHost(); |
264 | 264 |
265 } // namespace WebCore | 265 } // namespace blink |
266 | 266 |
267 #endif // ResourceRequest_h | 267 #endif // ResourceRequest_h |
OLD | NEW |