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

Unified Diff: third_party/WebKit/public/platform/WebURLRequest.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/WebURLRequest.h
diff --git a/third_party/WebKit/public/platform/WebURLRequest.h b/third_party/WebKit/public/platform/WebURLRequest.h
index f661d7883ebe089deb90621c09da7b6ddf92e15b..6f8b7a3c4cd17f352fcf7bbe3fc7488e1eb1ce46 100644
--- a/third_party/WebKit/public/platform/WebURLRequest.h
+++ b/third_party/WebKit/public/platform/WebURLRequest.h
@@ -124,7 +124,8 @@ public:
enum FetchCredentialsMode {
FetchCredentialsModeOmit,
FetchCredentialsModeSameOrigin,
- FetchCredentialsModeInclude
+ FetchCredentialsModeInclude,
+ FetchCredentialsModePassword
};
enum FetchRedirectMode {
@@ -210,6 +211,9 @@ public:
BLINK_PLATFORM_EXPORT WebHTTPBody httpBody() const;
BLINK_PLATFORM_EXPORT void setHTTPBody(const WebHTTPBody&);
+ BLINK_PLATFORM_EXPORT WebHTTPBody attachedCredentialBody() const;
+ BLINK_PLATFORM_EXPORT void setAttachedCredentialBody(const WebHTTPBody&);
+
// Controls whether upload progress events are generated when a request
// has a body.
BLINK_PLATFORM_EXPORT bool reportUploadProgress() const;

Powered by Google App Engine
This is Rietveld 408576698