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 6081b16c8f177ca9c0c5c16195ef4a0f034789ad..530952c2d401d27cd74539f75b997b3a3f5741fa 100644 |
--- a/content/public/common/resource_response_info.h |
+++ b/content/public/common/resource_response_info.h |
@@ -17,6 +17,7 @@ |
#include "net/base/load_timing_info.h" |
#include "net/http/http_response_headers.h" |
#include "net/http/http_response_info.h" |
+#include "third_party/WebKit/public/platform/WebServiceWorkerResponseType.h" |
#include "url/gurl.h" |
namespace content { |
@@ -112,6 +113,9 @@ struct ResourceResponseInfo { |
// This may be empty if the response was created inside the ServiceWorker. |
GURL original_url_via_service_worker; |
+ // The type of the response which was fetched by the ServiceWorker. |
+ blink::WebServiceWorkerResponseType response_type_via_service_worker; |
+ |
// ServiceWorker Timing Information. These will be set if the response is |
// provided by the ServiceWorker, or kept empty. |
base::TimeTicks service_worker_fetch_start; |