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 RequestInit_h | 5 #ifndef RequestInit_h |
6 #define RequestInit_h | 6 #define RequestInit_h |
7 | 7 |
| 8 #include <memory> |
8 #include "bindings/core/v8/Dictionary.h" | 9 #include "bindings/core/v8/Dictionary.h" |
9 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
10 #include "platform/network/EncodedFormData.h" | 11 #include "platform/network/EncodedFormData.h" |
11 #include "platform/weborigin/Referrer.h" | 12 #include "platform/weborigin/Referrer.h" |
12 #include "wtf/RefPtr.h" | 13 #include "wtf/RefPtr.h" |
13 #include "wtf/text/WTFString.h" | 14 #include "wtf/text/WTFString.h" |
14 #include <memory> | |
15 | 15 |
16 namespace blink { | 16 namespace blink { |
17 | 17 |
18 class BytesConsumer; | 18 class BytesConsumer; |
19 class ExceptionState; | 19 class ExceptionState; |
20 class Headers; | 20 class Headers; |
21 | 21 |
22 // FIXME: Use IDL dictionary instead of this class. | 22 // FIXME: Use IDL dictionary instead of this class. |
23 class RequestInit { | 23 class RequestInit { |
24 STACK_ALLOCATED(); | 24 STACK_ALLOCATED(); |
(...skipping 13 matching lines...) Expand all Loading... |
38 String integrity; | 38 String integrity; |
39 RefPtr<EncodedFormData> attachedCredential; | 39 RefPtr<EncodedFormData> attachedCredential; |
40 // True if any members in RequestInit are set and hence the referrer member | 40 // True if any members in RequestInit are set and hence the referrer member |
41 // should be used in the Request constructor. | 41 // should be used in the Request constructor. |
42 bool areAnyMembersSet; | 42 bool areAnyMembersSet; |
43 }; | 43 }; |
44 | 44 |
45 } // namespace blink | 45 } // namespace blink |
46 | 46 |
47 #endif // RequestInit_h | 47 #endif // RequestInit_h |
OLD | NEW |