Index: public/platform/WebURLResponse.h |
diff --git a/public/platform/WebURLResponse.h b/public/platform/WebURLResponse.h |
index 93542436a7d384bcdb345fea855d8f660a115e85..598785b0cd0d920a6369614fffcba26580bc49a6 100644 |
--- a/public/platform/WebURLResponse.h |
+++ b/public/platform/WebURLResponse.h |
@@ -33,6 +33,7 @@ |
#include "WebCommon.h" |
#include "WebPrivateOwnPtr.h" |
+#include "WebServiceWorkerResponseType.h" |
namespace blink { |
@@ -172,6 +173,10 @@ public: |
BLINK_PLATFORM_EXPORT bool wasFallbackRequiredByServiceWorker() const; |
BLINK_PLATFORM_EXPORT void setWasFallbackRequiredByServiceWorker(bool); |
+ // The type of the response which was fetched by the ServiceWorker. |
+ BLINK_PLATFORM_EXPORT WebServiceWorkerResponseType serviceWorkerResponseType() const; |
+ BLINK_PLATFORM_EXPORT void setServiceWorkerResponseType(WebServiceWorkerResponseType); |
+ |
// Flag whether this request is part of a multipart response. |
BLINK_PLATFORM_EXPORT bool isMultipartPayload() const; |
BLINK_PLATFORM_EXPORT void setIsMultipartPayload(bool); |