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 <memory> |
31 #include "platform/HTTPNames.h" | 32 #include "platform/HTTPNames.h" |
32 #include "platform/network/EncodedFormData.h" | 33 #include "platform/network/EncodedFormData.h" |
33 #include "platform/network/HTTPHeaderMap.h" | 34 #include "platform/network/HTTPHeaderMap.h" |
34 #include "platform/network/HTTPParsers.h" | 35 #include "platform/network/HTTPParsers.h" |
35 #include "platform/network/ResourceLoadPriority.h" | 36 #include "platform/network/ResourceLoadPriority.h" |
36 #include "platform/weborigin/KURL.h" | 37 #include "platform/weborigin/KURL.h" |
37 #include "platform/weborigin/Referrer.h" | 38 #include "platform/weborigin/Referrer.h" |
38 #include "platform/weborigin/SecurityOrigin.h" | 39 #include "platform/weborigin/SecurityOrigin.h" |
39 #include "public/platform/WebAddressSpace.h" | 40 #include "public/platform/WebAddressSpace.h" |
40 #include "public/platform/WebURLRequest.h" | 41 #include "public/platform/WebURLRequest.h" |
41 #include "wtf/RefCounted.h" | 42 #include "wtf/RefCounted.h" |
42 #include <memory> | |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 enum class WebCachePolicy; | 46 enum class WebCachePolicy; |
47 | 47 |
48 enum class ResourceRequestBlockedReason { | 48 enum class ResourceRequestBlockedReason { |
49 CSP, | 49 CSP, |
50 MixedContent, | 50 MixedContent, |
51 Origin, | 51 Origin, |
52 Inspector, | 52 Inspector, |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 bool m_checkForBrowserSideNavigation; | 407 bool m_checkForBrowserSideNavigation; |
408 double m_uiStartTime; | 408 double m_uiStartTime; |
409 bool m_isExternalRequest; | 409 bool m_isExternalRequest; |
410 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 410 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
411 ResourceRequest::RedirectStatus m_redirectStatus; | 411 ResourceRequest::RedirectStatus m_redirectStatus; |
412 }; | 412 }; |
413 | 413 |
414 } // namespace blink | 414 } // namespace blink |
415 | 415 |
416 #endif // ResourceRequest_h | 416 #endif // ResourceRequest_h |
OLD | NEW |