Index: public/platform/WebURLResponse.h |
diff --git a/public/platform/WebURLResponse.h b/public/platform/WebURLResponse.h |
index 598785b0cd0d920a6369614fffcba26580bc49a6..9f0e0930bb14097dabaf75a2b78a30c579d73f76 100644 |
--- a/public/platform/WebURLResponse.h |
+++ b/public/platform/WebURLResponse.h |
@@ -177,6 +177,11 @@ public: |
BLINK_PLATFORM_EXPORT WebServiceWorkerResponseType serviceWorkerResponseType() const; |
BLINK_PLATFORM_EXPORT void setServiceWorkerResponseType(WebServiceWorkerResponseType); |
+ // The original URL of the response which was fetched by the ServiceWorker. |
+ // This may be empty if the response was created inside the ServiceWorker. |
+ BLINK_PLATFORM_EXPORT WebURL originalURLViaServiceWorker() const; |
+ BLINK_PLATFORM_EXPORT void setOriginalURLViaServiceWorker(const WebURL&); |
+ |
// Flag whether this request is part of a multipart response. |
BLINK_PLATFORM_EXPORT bool isMultipartPayload() const; |
BLINK_PLATFORM_EXPORT void setIsMultipartPayload(bool); |