Index: net/http/http_response_info.h |
diff --git a/net/http/http_response_info.h b/net/http/http_response_info.h |
index efd76fe7b517e98d9fcca9242a51a4f792d758a4..917cc1406d22e6cd8e9ce516abecbdd15b4eeaa6 100644 |
--- a/net/http/http_response_info.h |
+++ b/net/http/http_response_info.h |
@@ -13,6 +13,7 @@ |
#include "net/http/http_vary_data.h" |
#include "net/socket/next_proto.h" |
#include "net/ssl/ssl_info.h" |
+#include "url/gurl.h" |
class Pickle; |
@@ -93,6 +94,12 @@ class NET_EXPORT HttpResponseInfo { |
// Whether the request use http proxy or server authentication. |
bool did_use_http_auth; |
+ // True if the request was fetched via a ServiceWorker. |
+ bool was_fetched_via_service_worker; |
+ // The original URL of the repsponse which was fetched via the ServiceWorker. |
tyoshino (SeeGerritForStatus)
2014/07/14 07:00:42
ditto
horo
2014/07/15 00:36:17
Done.
|
+ // This may be empty if the repsponse was created inside the ServiceWorker. |
+ GURL original_url_via_service_worker; |
+ |
// Remote address of the socket which fetched this resource. |
// |
// NOTE: If the response was served from the cache (was_cached is true), |