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

Unified Diff: Source/platform/network/ResourceResponse.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/platform/network/ResourceResponse.h ('k') | public/platform/WebURLResponse.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/ResourceResponse.cpp
diff --git a/Source/platform/network/ResourceResponse.cpp b/Source/platform/network/ResourceResponse.cpp
index e9b924007366baa5b16c403f61ddf0bbfb6ba544..751ab762fbead9f010c9c201bbf1ab1e95180e77 100644
--- a/Source/platform/network/ResourceResponse.cpp
+++ b/Source/platform/network/ResourceResponse.cpp
@@ -125,6 +125,7 @@ PassOwnPtr<ResourceResponse> ResourceResponse::adopt(PassOwnPtr<CrossThreadResou
response->m_wasFetchedViaServiceWorker = data->m_wasFetchedViaServiceWorker;
response->m_wasFallbackRequiredByServiceWorker = data->m_wasFallbackRequiredByServiceWorker;
response->m_serviceWorkerResponseType = data->m_serviceWorkerResponseType;
+ response->m_originalURLViaServiceWorker = data->m_originalURLViaServiceWorker;
response->m_responseTime = data->m_responseTime;
response->m_remoteIPAddress = AtomicString(data->m_remoteIPAddress);
response->m_remotePort = data->m_remotePort;
@@ -163,6 +164,7 @@ PassOwnPtr<CrossThreadResourceResponseData> ResourceResponse::copyData() const
data->m_wasFetchedViaServiceWorker = m_wasFetchedViaServiceWorker;
data->m_wasFallbackRequiredByServiceWorker = m_wasFallbackRequiredByServiceWorker;
data->m_serviceWorkerResponseType = m_serviceWorkerResponseType;
+ data->m_originalURLViaServiceWorker = m_originalURLViaServiceWorker;
data->m_responseTime = m_responseTime;
data->m_remoteIPAddress = m_remoteIPAddress.string().isolatedCopy();
data->m_remotePort = m_remotePort;
« no previous file with comments | « Source/platform/network/ResourceResponse.h ('k') | public/platform/WebURLResponse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698