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

Unified Diff: content/public/common/resource_response_info.h

Issue 2516353002: Introduce url_list to the Response scheme of CacheStorage. (Closed)
Patch Set: incorporated falken's comment Created 4 years 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: content/public/common/resource_response_info.h
diff --git a/content/public/common/resource_response_info.h b/content/public/common/resource_response_info.h
index 3e8618c3c2b832f32dda1d77094b47ace1593601..55f9724c0590f8ddd1ac0d42466414093eea83b4 100644
--- a/content/public/common/resource_response_info.h
+++ b/content/public/common/resource_response_info.h
@@ -116,9 +116,10 @@ struct CONTENT_EXPORT ResourceResponseInfo {
// considering the CORS preflight logic.
bool was_fallback_required_by_service_worker;
- // The original URL of the response which was fetched by the ServiceWorker.
- // This may be empty if the response was created inside the ServiceWorker.
- GURL original_url_via_service_worker;
+ // The URL list of the response which was served by the ServiceWorker. This
+ // is empty if the response was created inside the ServiceWorker or if the
+ // response was not served by a service worker
falken 2016/12/05 01:22:33 Oops, can we just say "See ServiceWorkerResponseIn
horo 2016/12/05 03:39:49 Done.
+ std::vector<GURL> url_list_via_service_worker;
// The type of the response which was fetched by the ServiceWorker.
blink::WebServiceWorkerResponseType response_type_via_service_worker;

Powered by Google App Engine
This is Rietveld 408576698