summaryrefslogtreecommitdiffstats
path: root/content/browser/loader/resource_request_info_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/loader/resource_request_info_impl.h')
-rw-r--r--content/browser/loader/resource_request_info_impl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/content/browser/loader/resource_request_info_impl.h b/content/browser/loader/resource_request_info_impl.h
index 3da351a..b6f8563 100644
--- a/content/browser/loader/resource_request_info_impl.h
+++ b/content/browser/loader/resource_request_info_impl.h
@@ -49,6 +49,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
int64 parent_frame_id,
ResourceType::Type resource_type,
PageTransition transition_type,
+ bool should_replace_current_entry,
bool is_download,
bool is_stream,
bool allow_download,
@@ -109,6 +110,13 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
cross_site_handler_ = h;
}
+ // Whether this request is part of a navigation that should replace the
+ // current session history entry. This state is shuffled up and down the stack
+ // for request transfers.
+ bool should_replace_current_entry() const {
+ return should_replace_current_entry_;
+ }
+
// Identifies the type of process (renderer, plugin, etc.) making the request.
int process_type() const { return process_type_; }
@@ -145,6 +153,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
int64 frame_id_;
bool parent_is_main_frame_;
int64 parent_frame_id_;
+ bool should_replace_current_entry_;
bool is_download_;
bool is_stream_;
bool allow_download_;