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

Unified 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: clear attachedcredentials 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/fetch/RequestInit.h
diff --git a/third_party/WebKit/Source/modules/fetch/RequestInit.h b/third_party/WebKit/Source/modules/fetch/RequestInit.h
index 8fa9aca6d212e93772681575b3de09c26e0157e7..7fbf8e2798dd3d780d307b4173226075fa7f236e 100644
--- a/third_party/WebKit/Source/modules/fetch/RequestInit.h
+++ b/third_party/WebKit/Source/modules/fetch/RequestInit.h
@@ -7,6 +7,7 @@
#include "bindings/core/v8/Dictionary.h"
#include "platform/heap/Handle.h"
+#include "platform/network/EncodedFormData.h"
#include "platform/weborigin/Referrer.h"
#include "wtf/OwnPtr.h"
#include "wtf/RefPtr.h"
@@ -34,11 +35,10 @@ public:
String credentials;
String redirect;
String integrity;
+ RefPtr<EncodedFormData> attachedCredential;
// True if any members in RequestInit are set and hence the referrer member
// should be used in the Request constructor.
bool areAnyMembersSet;
- // True if the RequestInit |body| was created from a 'PasswordCredential' object.
- bool isCredentialRequest;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Request.cpp ('k') | third_party/WebKit/Source/modules/fetch/RequestInit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698