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

Unified Diff: public/platform/WebURLResponse.h

Issue 378473002: [ServiceWorker] Add wasFetchedViaServiceWorker flag to WebURLResponse and ResourceResponse. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: s/responce/response/ Created 6 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
« no previous file with comments | « Source/platform/network/ResourceResponse.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebURLResponse.h
diff --git a/public/platform/WebURLResponse.h b/public/platform/WebURLResponse.h
index 7649871285eaa0a3c4b597a77153ae24515cf841..37ee12cf9f197bc96e1340cc8713eaa827af5ade 100644
--- a/public/platform/WebURLResponse.h
+++ b/public/platform/WebURLResponse.h
@@ -166,6 +166,10 @@ public:
BLINK_PLATFORM_EXPORT bool wasFetchedViaProxy() const;
BLINK_PLATFORM_EXPORT void setWasFetchedViaProxy(bool);
+ // Flag whether this request was loaded via a ServiceWorker.
+ BLINK_PLATFORM_EXPORT bool wasFetchedViaServiceWorker() const;
+ BLINK_PLATFORM_EXPORT void setWasFetchedViaServiceWorker(bool);
+
// Flag whether this request is part of a multipart response.
BLINK_PLATFORM_EXPORT bool isMultipartPayload() const;
BLINK_PLATFORM_EXPORT void setIsMultipartPayload(bool);
« no previous file with comments | « Source/platform/network/ResourceResponse.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698