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

Side by Side Diff: sky/engine/platform/network/ResourceRequest.h

Issue 746023002: Make absolute and sort all Sky headers (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
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 10 matching lines...) Expand all
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 "platform/network/FormData.h" 31 #include "sky/engine/platform/network/FormData.h"
32 #include "platform/network/HTTPHeaderMap.h" 32 #include "sky/engine/platform/network/HTTPHeaderMap.h"
33 #include "platform/network/HTTPParsers.h" 33 #include "sky/engine/platform/network/HTTPParsers.h"
34 #include "platform/network/ResourceLoadPriority.h" 34 #include "sky/engine/platform/network/ResourceLoadPriority.h"
35 #include "platform/weborigin/KURL.h" 35 #include "sky/engine/platform/weborigin/KURL.h"
36 #include "platform/weborigin/Referrer.h" 36 #include "sky/engine/platform/weborigin/Referrer.h"
37 #include "public/platform/WebURLRequest.h" 37 #include "sky/engine/public/platform/WebURLRequest.h"
38 #include "wtf/OwnPtr.h" 38 #include "sky/engine/wtf/OwnPtr.h"
39 39
40 namespace blink { 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 };
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 }; 209 };
210 210
211 bool equalIgnoringHeaderFields(const ResourceRequest&, const ResourceRequest&); 211 bool equalIgnoringHeaderFields(const ResourceRequest&, const ResourceRequest&);
212 212
213 inline bool operator==(const ResourceRequest& a, const ResourceRequest& b) { ret urn ResourceRequest::compare(a, b); } 213 inline bool operator==(const ResourceRequest& a, const ResourceRequest& b) { ret urn ResourceRequest::compare(a, b); }
214 inline bool operator!=(ResourceRequest& a, const ResourceRequest& b) { return !( a == b); } 214 inline bool operator!=(ResourceRequest& a, const ResourceRequest& b) { return !( a == b); }
215 215
216 } // namespace blink 216 } // namespace blink
217 217
218 #endif // ResourceRequest_h 218 #endif // ResourceRequest_h
OLDNEW
« no previous file with comments | « sky/engine/platform/network/ResourceLoadTiming.h ('k') | sky/engine/platform/network/ResourceRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698