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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/FetchParameters.h

Issue 2941883003: [ServiceWorker] Fetch event should return integrity value (Closed)
Patch Set: Rebase and address shimazu and yhirano's comments Created 3 years, 6 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/platform/loader/fetch/FetchParameters.h
diff --git a/third_party/WebKit/Source/platform/loader/fetch/FetchParameters.h b/third_party/WebKit/Source/platform/loader/fetch/FetchParameters.h
index 3e5ea2faf7d5867671c6360e658aea17f9cdd570..5df9362c2a3f794635d2c92d6f1ba3a648b143a6 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/FetchParameters.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/FetchParameters.h
@@ -155,6 +155,10 @@ class PLATFORM_EXPORT FetchParameters {
options_.integrity_metadata = metadata;
}
+ void SetIntegrityValue(const String& integrity) {
yhirano 2017/06/30 09:11:57 Please remove this and use MutableResourceRequest(
xiaofengzhang 2017/07/07 00:10:14 Done.
+ resource_request_.SetFetchIntegrity(AtomicString(integrity));
+ }
+
String ContentSecurityPolicyNonce() const {
return options_.content_security_policy_nonce;
}

Powered by Google App Engine
This is Rietveld 408576698