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..675b3310d23308827715e93a48cc06767aa7a413 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 by a ServiceWorker. |
+ bool was_fetched_via_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; |
}; |
} // namespace content |