| 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 21 matching lines...) Expand all Loading... |
| 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 | 37 |
| 38 // https://w3c.github.io/webappsec/specs/credentialmanagement/#monkey-patchi
ng-fetch-2 | 38 // https://w3c.github.io/webappsec/specs/credentialmanagement/#monkey-patchi
ng-fetch-2 |
| 39 bool opaque; | 39 bool opaque; |
| 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 isReferrerSet; | 42 bool areAnyMembersSet; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } | 45 } |
| 46 | 46 |
| 47 #endif // RequestInit_h | 47 #endif // RequestInit_h |
| OLD | NEW |