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

Unified Diff: third_party/WebKit/Source/platform/network/ResourceRequest.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/platform/network/ResourceRequest.h
diff --git a/third_party/WebKit/Source/platform/network/ResourceRequest.h b/third_party/WebKit/Source/platform/network/ResourceRequest.h
index b3b9d17cb64d39b80a6ef6a0ba2ad2166ea413c4..3594ce17684ed36afdec1fed4774417eb7e6eb74 100644
--- a/third_party/WebKit/Source/platform/network/ResourceRequest.h
+++ b/third_party/WebKit/Source/platform/network/ResourceRequest.h
@@ -154,6 +154,9 @@ public:
EncodedFormData* httpBody() const;
void setHTTPBody(PassRefPtr<EncodedFormData>);
+ EncodedFormData* attachedCredential() const;
+ void setAttachedCredential(PassRefPtr<EncodedFormData>);
+
bool allowStoredCredentials() const;
void setAllowStoredCredentials(bool allowCredentials);
@@ -262,6 +265,7 @@ private:
AtomicString m_httpMethod;
HTTPHeaderMap m_httpHeaderFields;
RefPtr<EncodedFormData> m_httpBody;
+ RefPtr<EncodedFormData> m_attachedCredential;
bool m_allowStoredCredentials : 1;
bool m_reportUploadProgress : 1;
bool m_reportRawHeaders : 1;
@@ -310,6 +314,7 @@ public:
String m_httpMethod;
OwnPtr<CrossThreadHTTPHeaderMapData> m_httpHeaders;
RefPtr<EncodedFormData> m_httpBody;
+ RefPtr<EncodedFormData> m_attachedCredential;
bool m_allowStoredCredentials;
bool m_reportUploadProgress;
bool m_hasUserGesture;

Powered by Google App Engine
This is Rietveld 408576698