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

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: Created 4 years, 9 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 979302234bfebd8807e4c5acceb5d294c5f969c0..88d42db628f8f4d63c25fe35a6cc7b83298ef453 100644
--- a/third_party/WebKit/Source/platform/network/ResourceRequest.h
+++ b/third_party/WebKit/Source/platform/network/ResourceRequest.h
@@ -152,6 +152,9 @@ public:
EncodedFormData* httpBody() const;
void setHTTPBody(PassRefPtr<EncodedFormData>);
+ EncodedFormData* attachedCredentialBody() const;
+ void setAttachedCredentialBody(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_attachedCredentialBody;
bool m_allowStoredCredentials : 1;
bool m_reportUploadProgress : 1;
bool m_reportRawHeaders : 1;
@@ -313,6 +317,7 @@ public:
String m_httpMethod;
OwnPtr<CrossThreadHTTPHeaderMapData> m_httpHeaders;
RefPtr<EncodedFormData> m_httpBody;
+ RefPtr<EncodedFormData> m_attachedCredentialBody;
bool m_allowStoredCredentials;
bool m_reportUploadProgress;
bool m_hasUserGesture;

Powered by Google App Engine
This is Rietveld 408576698