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

Unified Diff: content/common/resource_request.h

Issue 2941883003: [ServiceWorker] Fetch event should return integrity value (Closed)
Patch Set: Rebase 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: content/common/resource_request.h
diff --git a/content/common/resource_request.h b/content/common/resource_request.h
index 21219fbd007cc16bb8a79277dc5666d2cd7fa313..ab67d5ed77115a4968faa83f2021fd809cb19cc8 100644
--- a/content/common/resource_request.h
+++ b/content/common/resource_request.h
@@ -115,6 +115,9 @@ struct CONTENT_EXPORT ResourceRequest {
// The redirect mode used in Fetch API.
FetchRedirectMode fetch_redirect_mode = FetchRedirectMode::FOLLOW_MODE;
+ // The integrity used in Fetch API.
+ std::string fetch_integrity;
+
// The request context passed to the ServiceWorker.
RequestContextType fetch_request_context_type =
REQUEST_CONTEXT_TYPE_UNSPECIFIED;

Powered by Google App Engine
This is Rietveld 408576698