Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: Source/platform/network/ResourceRequest.h

Issue 54053006: Move weborigin/ under platform/ so that it may someday call platform APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Stale refernence to weboriginexport in .gpyi Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/platform/network/ResourceError.cpp ('k') | Source/platform/network/ResourceResponse.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/platform/network/ResourceError.cpp ('k') | Source/platform/network/ResourceResponse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698