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

Unified Diff: Source/platform/exported/WebURLResponse.cpp

Issue 732963003: Use the request URL as the URL of the resources which are fetched ServiceWorker [1/3 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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/core/fetch/ResourceFetcher.cpp ('k') | Source/platform/network/ResourceResponse.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebURLResponse.cpp
diff --git a/Source/platform/exported/WebURLResponse.cpp b/Source/platform/exported/WebURLResponse.cpp
index 725f3a5f08f99dcfc6485be0f5bc3131f8db2fd9..0bc7c4ae3d45b0174d7a7ee7dac8e444d54a7913 100644
--- a/Source/platform/exported/WebURLResponse.cpp
+++ b/Source/platform/exported/WebURLResponse.cpp
@@ -406,6 +406,16 @@ void WebURLResponse::setServiceWorkerResponseType(WebServiceWorkerResponseType v
m_private->m_resourceResponse->setServiceWorkerResponseType(value);
}
+WebURL WebURLResponse::originalURLViaServiceWorker() const
+{
+ return m_private->m_resourceResponse->originalURLViaServiceWorker();
+}
+
+void WebURLResponse::setOriginalURLViaServiceWorker(const WebURL& url)
+{
+ m_private->m_resourceResponse->setOriginalURLViaServiceWorker(url);
+}
+
bool WebURLResponse::isMultipartPayload() const
{
return m_private->m_resourceResponse->isMultipartPayload();
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/platform/network/ResourceResponse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698