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 49b781cfefd57cf6b2d1c7139d66ee8b754a5751..778d8b2ebb9b3a8b34da6f45b98b7f0d42810ea6 100644 |
--- a/content/public/common/resource_response_info.h |
+++ b/content/public/common/resource_response_info.h |
@@ -101,6 +101,12 @@ struct ResourceResponseInfo { |
// True if the response was fetched by a ServiceWorker. |
bool was_fetched_via_service_worker; |
+ // True when the request which mode is |CORS| or |CORS-with-forced-preflight| |
yhirano
2014/09/26 04:27:25
s/which/whose/
horo
2014/09/26 05:07:58
Done.
|
+ // is sent to a ServiceWorker but FetchEvent.respondWith is not called. So the |
+ // renderer have to resend the request with skip service worker flag |
+ // 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; |