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

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: 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
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceRequest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..80392b806aae6f933fea2e878cbc0e930567da09 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 attachedCredential() const;
+ BLINK_PLATFORM_EXPORT void setAttachedCredential(const WebHTTPBody&);
+
// Controls whether upload progress events are generated when a request
// has a body.
BLINK_PLATFORM_EXPORT bool reportUploadProgress() const;
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698