OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef FetchRequestData_h | 5 #ifndef FetchRequestData_h |
6 #define FetchRequestData_h | 6 #define FetchRequestData_h |
7 | 7 |
8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
9 #include "platform/network/EncodedFormData.h" | 9 #include "platform/network/EncodedFormData.h" |
10 #include "platform/weborigin/KURL.h" | 10 #include "platform/weborigin/KURL.h" |
11 #include "platform/weborigin/Referrer.h" | 11 #include "platform/weborigin/Referrer.h" |
12 #include "platform/weborigin/ReferrerPolicy.h" | 12 #include "platform/weborigin/ReferrerPolicy.h" |
13 #include "public/platform/WebURLRequest.h" | 13 #include "public/platform/WebURLRequest.h" |
14 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h" | 14 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h" |
15 #include "wtf/PassRefPtr.h" | 15 #include "wtf/PassRefPtr.h" |
16 #include "wtf/text/AtomicString.h" | 16 #include "wtf/text/AtomicString.h" |
17 #include "wtf/text/WTFString.h" | 17 #include "wtf/text/WTFString.h" |
18 | 18 |
19 namespace blink { | 19 namespace blink { |
20 | 20 |
21 class BodyStreamBuffer; | 21 class BodyStreamBuffer; |
22 class ExecutionContext; | |
23 class FetchHeaderList; | 22 class FetchHeaderList; |
24 class PasswordCredential; | |
25 class SecurityOrigin; | 23 class SecurityOrigin; |
26 class ScriptState; | 24 class ScriptState; |
27 class WebServiceWorkerRequest; | 25 class WebServiceWorkerRequest; |
28 | 26 |
29 class FetchRequestData final | 27 class FetchRequestData final |
30 : public GarbageCollectedFinalized<FetchRequestData> { | 28 : public GarbageCollectedFinalized<FetchRequestData> { |
31 WTF_MAKE_NONCOPYABLE(FetchRequestData); | 29 WTF_MAKE_NONCOPYABLE(FetchRequestData); |
32 | 30 |
33 public: | 31 public: |
34 enum Tainting { BasicTainting, CORSTainting, OpaqueTainting }; | 32 enum Tainting { BasicTainting, CORSTainting, OpaqueTainting }; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 Tainting m_responseTainting; | 122 Tainting m_responseTainting; |
125 Member<BodyStreamBuffer> m_buffer; | 123 Member<BodyStreamBuffer> m_buffer; |
126 String m_mimeType; | 124 String m_mimeType; |
127 String m_integrity; | 125 String m_integrity; |
128 RefPtr<EncodedFormData> m_attachedCredential; | 126 RefPtr<EncodedFormData> m_attachedCredential; |
129 }; | 127 }; |
130 | 128 |
131 } // namespace blink | 129 } // namespace blink |
132 | 130 |
133 #endif // FetchRequestData_h | 131 #endif // FetchRequestData_h |
OLD | NEW |