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

Unified Diff: third_party/WebKit/Source/modules/fetch/Request.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/modules/fetch/Request.h
diff --git a/third_party/WebKit/Source/modules/fetch/Request.h b/third_party/WebKit/Source/modules/fetch/Request.h
index 847b3e3ddec444d89f8d493906dec232bec8f880..4b4d5c8c3b101905b7dc18a472c2d6dba77b0ccd 100644
--- a/third_party/WebKit/Source/modules/fetch/Request.h
+++ b/third_party/WebKit/Source/modules/fetch/Request.h
@@ -13,6 +13,7 @@
#include "modules/fetch/FetchRequestData.h"
#include "modules/fetch/Headers.h"
#include "platform/heap/Handle.h"
+#include "platform/network/EncodedFormData.h"
#include "platform/weborigin/KURL.h"
#include "public/platform/WebURLRequest.h"
#include "wtf/text/WTFString.h"
@@ -20,6 +21,7 @@
namespace blink {
class BodyStreamBuffer;
+class EncodedFormData;
class RequestInit;
class WebServiceWorkerRequest;
@@ -60,6 +62,7 @@ public:
bool hasBody() const;
BodyStreamBuffer* bodyBuffer() override { return m_request->buffer(); }
const BodyStreamBuffer* bodyBuffer() const override { return m_request->buffer(); }
+ PassRefPtr<EncodedFormData> attachedCredential() const { return m_request->attachedCredential(); }
void stop() override;
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp ('k') | third_party/WebKit/Source/modules/fetch/Request.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698