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

Unified Diff: third_party/WebKit/public/platform/WebURLRequest.h

Issue 2941883003: [ServiceWorker] Fetch event should return integrity value (Closed)
Patch Set: Address yhirano's comment #78 Created 3 years, 5 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/public/platform/WebURLRequest.h
diff --git a/third_party/WebKit/public/platform/WebURLRequest.h b/third_party/WebKit/public/platform/WebURLRequest.h
index dd10f789430f6f0c5c066274261108c82fe270af..96dd326816ff815dcce2cf809d51343e6a64c3d9 100644
--- a/third_party/WebKit/public/platform/WebURLRequest.h
+++ b/third_party/WebKit/public/platform/WebURLRequest.h
@@ -315,6 +315,10 @@ class WebURLRequest {
BLINK_PLATFORM_EXPORT FetchRedirectMode GetFetchRedirectMode() const;
BLINK_PLATFORM_EXPORT void SetFetchRedirectMode(FetchRedirectMode);
+ // The integrity which is used in Fetch API.
+ BLINK_PLATFORM_EXPORT WebString GetFetchIntegrity() const;
+ BLINK_PLATFORM_EXPORT void SetFetchIntegrity(const WebString&);
+
// The PreviewsState which determines whether to request a Preview version of
// the resource. The PreviewsState is a bitmask of potentially several
// Previews optimizations.

Powered by Google App Engine
This is Rietveld 408576698