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

Unified Diff: public/platform/WebURLResponse.h

Issue 602073002: [ServiceWorker] Add was_fallback_required flag to ResourceResponseInfo. [1/2 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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: public/platform/WebURLResponse.h
diff --git a/public/platform/WebURLResponse.h b/public/platform/WebURLResponse.h
index ef6c11367e3797c28226fd370d8f4f3edb1d4d0c..e2d18f1205596eb5c36544ae7e6a995db068023b 100644
--- a/public/platform/WebURLResponse.h
+++ b/public/platform/WebURLResponse.h
@@ -167,6 +167,10 @@ public:
BLINK_PLATFORM_EXPORT bool wasFetchedViaServiceWorker() const;
BLINK_PLATFORM_EXPORT void setWasFetchedViaServiceWorker(bool);
+ // Flag whether the fallback request with skip service worker flag was required.
+ BLINK_PLATFORM_EXPORT bool wasFallbackRequired() const;
+ BLINK_PLATFORM_EXPORT void setWasFallbackRequired(bool);
+
// Flag whether this request is part of a multipart response.
BLINK_PLATFORM_EXPORT bool isMultipartPayload() const;
BLINK_PLATFORM_EXPORT void setIsMultipartPayload(bool);
« Source/platform/network/ResourceResponse.h ('K') | « Source/platform/network/ResourceResponse.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698