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

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: Improved and mostly working 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 1433ddccd306c260b54f3f06b9e8fe8fc9bb1c5e..f1f9d1b4c3d18342a52da16c4314f67da9eea6a9 100644
--- a/Source/modules/fetch/FetchRequestData.h
+++ b/Source/modules/fetch/FetchRequestData.h
@@ -92,6 +92,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();
@@ -120,6 +122,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