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

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, 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/public/platform/WebURLRequest.h
diff --git a/third_party/WebKit/public/platform/WebURLRequest.h b/third_party/WebKit/public/platform/WebURLRequest.h
index 6caabf533a69ce922c16928a6cbec84db64b5fa5..404c90d264f70395fd19f821e60665b6ed2dd9be 100644
--- a/third_party/WebKit/public/platform/WebURLRequest.h
+++ b/third_party/WebKit/public/platform/WebURLRequest.h
@@ -122,7 +122,8 @@ public:
enum FetchCredentialsMode {
FetchCredentialsModeOmit,
FetchCredentialsModeSameOrigin,
- FetchCredentialsModeInclude
+ FetchCredentialsModeInclude,
+ FetchCredentialsModePassword
};
enum FetchRedirectMode {
@@ -208,6 +209,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