| 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 "bindings/core/v8/Dictionary.h" | 8 #include "bindings/core/v8/Dictionary.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "platform/weborigin/Referrer.h" | 10 #include "platform/weborigin/Referrer.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 String method; | 27 String method; |
| 28 Member<Headers> headers; | 28 Member<Headers> headers; |
| 29 Dictionary headersDictionary; | 29 Dictionary headersDictionary; |
| 30 String contentType; | 30 String contentType; |
| 31 OwnPtr<FetchDataConsumerHandle> body; | 31 OwnPtr<FetchDataConsumerHandle> body; |
| 32 Referrer referrer; | 32 Referrer referrer; |
| 33 String mode; | 33 String mode; |
| 34 String credentials; | 34 String credentials; |
| 35 String redirect; | 35 String redirect; |
| 36 String integrity; | 36 String integrity; |
| 37 OwnPtr<FetchDataConsumerHandle> attachedCredential; |
| 37 // True if any members in RequestInit are set and hence the referrer member | 38 // True if any members in RequestInit are set and hence the referrer member |
| 38 // should be used in the Request constructor. | 39 // should be used in the Request constructor. |
| 39 bool areAnyMembersSet; | 40 bool areAnyMembersSet; |
| 40 // True if the RequestInit |body| was created from a 'PasswordCredential' ob
ject. | |
| 41 bool isCredentialRequest; | |
| 42 }; | 41 }; |
| 43 | 42 |
| 44 } // namespace blink | 43 } // namespace blink |
| 45 | 44 |
| 46 #endif // RequestInit_h | 45 #endif // RequestInit_h |
| OLD | NEW |