Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Side by Side Diff: third_party/WebKit/Source/modules/fetch/RequestInit.h

Issue 1844053003: CREDENTIAL: Rework the integration with Fetch (1/2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ? Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698