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

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: Fix test expectations 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
« no previous file with comments | « Source/modules/fetch/FetchManager.cpp ('k') | Source/modules/fetch/FetchRequestData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/fetch/FetchRequestData.h
diff --git a/Source/modules/fetch/FetchRequestData.h b/Source/modules/fetch/FetchRequestData.h
index 69cdc6367ce9bd64516770bae3e13ce903ca7712..4c164036f71c4c0ae9d5d6418496786c668078c9 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
« no previous file with comments | « Source/modules/fetch/FetchManager.cpp ('k') | Source/modules/fetch/FetchRequestData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698