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

Unified Diff: content/browser/service_worker/foreign_fetch_request_handler.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: content/browser/service_worker/foreign_fetch_request_handler.h
diff --git a/content/browser/service_worker/foreign_fetch_request_handler.h b/content/browser/service_worker/foreign_fetch_request_handler.h
index 2283fa9f02ba5c9884d4b8d168e0eb2b9ab3ba65..2be0bb1bf7c251d1134e371f7fe7984911e10b99 100644
--- a/content/browser/service_worker/foreign_fetch_request_handler.h
+++ b/content/browser/service_worker/foreign_fetch_request_handler.h
@@ -62,6 +62,7 @@ class CONTENT_EXPORT ForeignFetchRequestHandler
FetchRequestMode request_mode,
FetchCredentialsMode credentials_mode,
FetchRedirectMode redirect_mode,
+ const std::string& integrity,
ResourceType resource_type,
RequestContextType request_context_type,
RequestContextFrameType frame_type,
@@ -92,6 +93,7 @@ class CONTENT_EXPORT ForeignFetchRequestHandler
FetchRequestMode request_mode,
FetchCredentialsMode credentials_mode,
FetchRedirectMode redirect_mode,
+ const std::string& integrity,
ResourceType resource_type,
RequestContextType request_context_type,
RequestContextFrameType frame_type,
@@ -126,6 +128,7 @@ class CONTENT_EXPORT ForeignFetchRequestHandler
FetchRequestMode request_mode_;
FetchCredentialsMode credentials_mode_;
FetchRedirectMode redirect_mode_;
+ std::string integrity_;
RequestContextType request_context_type_;
RequestContextFrameType frame_type_;
scoped_refptr<ResourceRequestBodyImpl> body_;

Powered by Google App Engine
This is Rietveld 408576698