Index: content/browser/loader/resource_request_info_impl.h |
diff --git a/content/browser/loader/resource_request_info_impl.h b/content/browser/loader/resource_request_info_impl.h |
index 34d05b98164f6f281f92264fcf660b05d3db4ac3..7e7e1125648561aab1ddbaf60b5113cb2bf374c6 100644 |
--- a/content/browser/loader/resource_request_info_impl.h |
+++ b/content/browser/loader/resource_request_info_impl.h |
@@ -13,6 +13,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
#include "base/supports_user_data.h" |
+#include "content/common/service_worker/service_worker_types.h" |
#include "content/public/browser/resource_request_info.h" |
#include "content/public/common/referrer.h" |
#include "content/public/common/resource_type.h" |
@@ -53,6 +54,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo, |
ResourceType resource_type, |
ui::PageTransition transition_type, |
bool should_replace_current_entry, |
+ FetchRedirectMode fetch_redirect_mode, |
bool is_download, |
bool is_stream, |
bool allow_download, |
@@ -147,6 +149,8 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo, |
// Whether this is a download. |
void set_is_download(bool download) { is_download_ = download; } |
+ FetchRedirectMode fetch_redirect_mode() const { return fetch_redirect_mode_; } |
+ |
// Whether this is a stream. |
bool is_stream() const { return is_stream_; } |
void set_is_stream(bool stream) { is_stream_ = stream; } |
@@ -199,6 +203,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo, |
bool parent_is_main_frame_; |
int parent_render_frame_id_; |
bool should_replace_current_entry_; |
+ FetchRedirectMode fetch_redirect_mode_; |
bool is_download_; |
bool is_stream_; |
bool allow_download_; |