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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchRequestData.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/Source/modules/fetch/FetchRequestData.h
diff --git a/third_party/WebKit/Source/modules/fetch/FetchRequestData.h b/third_party/WebKit/Source/modules/fetch/FetchRequestData.h
index ebd39b7348ecf1550421e77cde696286764fec7d..8a29dbf3a0d9fa7c2933415567ef361870db0a18 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchRequestData.h
+++ b/third_party/WebKit/Source/modules/fetch/FetchRequestData.h
@@ -21,6 +21,7 @@ namespace blink {
class BodyStreamBuffer;
class ExecutionContext;
class FetchHeaderList;
+class PasswordCredential;
class SecurityOrigin;
class WebServiceWorkerRequest;
@@ -71,6 +72,8 @@ public:
void setMIMEType(const String& type) { m_mimeType = type; }
String integrity() const { return m_integrity; }
void setIntegrity(const String& integrity) { m_integrity = integrity; }
+ BodyStreamBuffer* attachedCredentialBuffer() const { return m_attachedCredentialBuffer; }
+ void setAttachedCredentialBuffer(BodyStreamBuffer* buffer) { m_attachedCredentialBuffer = buffer; }
// We use these strings instead of "no-referrer" and "client" in the spec.
static AtomicString noReferrerString() { return AtomicString(); }
@@ -107,6 +110,7 @@ private:
Member<BodyStreamBuffer> m_buffer;
String m_mimeType;
String m_integrity;
+ Member<BodyStreamBuffer> m_attachedCredentialBuffer;
horo 2016/04/05 07:24:35 BodyStreamBuffer is designed to be readable only o
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698