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 31fa4b905b961afada157bd89bc1d54c4123b23e..e6181405c92ad21f95455def2b8ef449775e674b 100644 |
--- a/content/public/common/resource_response_info.h |
+++ b/content/public/common/resource_response_info.h |
@@ -97,6 +97,13 @@ struct ResourceResponseInfo { |
// Remote address of the socket which fetched this resource. |
net::HostPortPair socket_address; |
+ |
+ // True if the response was fetched via ServiceWorker. |
+ bool was_fetched_via_service_worker; |
+ |
+ // The original URL of the repsponse which was fetched via the ServiceWorker. |
+ // This may be empty if the repsponse was created inside the ServiceWorker. |
+ GURL original_url_via_service_worker; |
}; |
} // namespace content |