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

Unified Diff: Source/modules/fetch/FetchRequestData.h

Issue 1279163005: Initial Fetch integration for Subresource Integrity (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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: Source/modules/fetch/FetchRequestData.h
diff --git a/Source/modules/fetch/FetchRequestData.h b/Source/modules/fetch/FetchRequestData.h
index d3bcf01efc3eecafad495a2ddbde809e5ecdc4b5..ae34298140bd8ab056cf5814c5203a0d6d6d6e3d 100644
--- a/Source/modules/fetch/FetchRequestData.h
+++ b/Source/modules/fetch/FetchRequestData.h
@@ -90,6 +90,8 @@ public:
void setBuffer(BodyStreamBuffer* buffer) { m_buffer = buffer; }
String mimeType() const { return m_mimeType; }
void setMIMEType(const String& type) { m_mimeType = type; }
+ String integrity() const { return m_integrity; }
+ void setIntegrity(const String& integrity) { m_integrity = integrity; }
DECLARE_TRACE();
@@ -118,6 +120,7 @@ private:
Tainting m_responseTainting;
Member<BodyStreamBuffer> m_buffer;
String m_mimeType;
+ String m_integrity;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698