OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2009 Apple Inc. All Rights Reserved. |
3 * Copyright (C) 2009, 2011 Google Inc. All Rights Reserved. | 3 * Copyright (C) 2009, 2011 Google Inc. All Rights Reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 10 matching lines...) Expand all Loading... |
21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 * | 25 * |
26 */ | 26 */ |
27 | 27 |
28 #ifndef WorkerScriptLoader_h | 28 #ifndef WorkerScriptLoader_h |
29 #define WorkerScriptLoader_h | 29 #define WorkerScriptLoader_h |
30 | 30 |
| 31 #include <memory> |
31 #include "core/CoreExport.h" | 32 #include "core/CoreExport.h" |
32 #include "core/loader/ThreadableLoader.h" | 33 #include "core/loader/ThreadableLoader.h" |
33 #include "core/loader/ThreadableLoaderClient.h" | 34 #include "core/loader/ThreadableLoaderClient.h" |
34 #include "platform/network/ResourceRequest.h" | 35 #include "platform/network/ResourceRequest.h" |
35 #include "platform/weborigin/KURL.h" | 36 #include "platform/weborigin/KURL.h" |
36 #include "public/platform/WebAddressSpace.h" | 37 #include "public/platform/WebAddressSpace.h" |
37 #include "public/platform/WebURLRequest.h" | 38 #include "public/platform/WebURLRequest.h" |
38 #include "wtf/Allocator.h" | 39 #include "wtf/Allocator.h" |
39 #include "wtf/Functional.h" | 40 #include "wtf/Functional.h" |
40 #include "wtf/PassRefPtr.h" | 41 #include "wtf/PassRefPtr.h" |
41 #include "wtf/RefCounted.h" | 42 #include "wtf/RefCounted.h" |
42 #include "wtf/text/StringBuilder.h" | 43 #include "wtf/text/StringBuilder.h" |
43 #include <memory> | |
44 | 44 |
45 namespace blink { | 45 namespace blink { |
46 | 46 |
47 class ContentSecurityPolicy; | 47 class ContentSecurityPolicy; |
48 class ResourceRequest; | 48 class ResourceRequest; |
49 class ResourceResponse; | 49 class ResourceResponse; |
50 class ExecutionContext; | 50 class ExecutionContext; |
51 class TextResourceDecoder; | 51 class TextResourceDecoder; |
52 | 52 |
53 class CORE_EXPORT WorkerScriptLoader final | 53 class CORE_EXPORT WorkerScriptLoader final |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 Persistent<ContentSecurityPolicy> m_contentSecurityPolicy; | 156 Persistent<ContentSecurityPolicy> m_contentSecurityPolicy; |
157 Persistent<ExecutionContext> m_executionContext; | 157 Persistent<ExecutionContext> m_executionContext; |
158 WebAddressSpace m_responseAddressSpace; | 158 WebAddressSpace m_responseAddressSpace; |
159 std::unique_ptr<Vector<String>> m_originTrialTokens; | 159 std::unique_ptr<Vector<String>> m_originTrialTokens; |
160 String m_referrerPolicy; | 160 String m_referrerPolicy; |
161 }; | 161 }; |
162 | 162 |
163 } // namespace blink | 163 } // namespace blink |
164 | 164 |
165 #endif // WorkerScriptLoader_h | 165 #endif // WorkerScriptLoader_h |
OLD | NEW |