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

Unified Diff: third_party/WebKit/Source/platform/exported/WebServiceWorkerResponse.cpp

Issue 2516353002: Introduce url_list to the Response scheme of CacheStorage. (Closed)
Patch Set: Created 4 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
Index: third_party/WebKit/Source/platform/exported/WebServiceWorkerResponse.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebServiceWorkerResponse.cpp b/third_party/WebKit/Source/platform/exported/WebServiceWorkerResponse.cpp
index 35514d7d9914df867aa79fb98a947cdbb561c220..68bf01fa7308e0396f75a70bca6dc4b2f4cb5ef7 100644
--- a/third_party/WebKit/Source/platform/exported/WebServiceWorkerResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebServiceWorkerResponse.cpp
@@ -20,7 +20,7 @@ class WebServiceWorkerResponsePrivate
responseType(WebServiceWorkerResponseTypeDefault),
error(WebServiceWorkerResponseErrorUnknown),
responseTime(0) {}
- WebURL url;
+ WebVector<WebURL> urlList;
unsigned short status;
WebString statusText;
WebServiceWorkerResponseType responseType;
@@ -44,12 +44,12 @@ void WebServiceWorkerResponse::assign(const WebServiceWorkerResponse& other) {
m_private = other.m_private;
}
-void WebServiceWorkerResponse::setURL(const WebURL& url) {
- m_private->url = url;
+void WebServiceWorkerResponse::setURLList(const WebVector<WebURL>& urlList) {
+ m_private->urlList = urlList;
}
-WebURL WebServiceWorkerResponse::url() const {
- return m_private->url;
+const WebVector<WebURL>& WebServiceWorkerResponse::urlList() const {
+ return m_private->urlList;
}
void WebServiceWorkerResponse::setStatus(unsigned short status) {

Powered by Google App Engine
This is Rietveld 408576698