Index: content/common/navigation_params.h |
diff --git a/content/common/navigation_params.h b/content/common/navigation_params.h |
index 90eb70eea510f864d13bb13e4dc942b7df3d05ca..805947112128c488e913acfe684a6239da38e244 100644 |
--- a/content/common/navigation_params.h |
+++ b/content/common/navigation_params.h |
@@ -170,6 +170,7 @@ struct CONTENT_EXPORT RequestNavigationParams { |
const PageState& page_state, |
int32 page_id, |
int nav_entry_id, |
+ bool has_committed_real_load, |
bool intended_as_new_entry, |
int pending_history_list_offset, |
int current_history_list_offset, |
@@ -211,6 +212,12 @@ struct CONTENT_EXPORT RequestNavigationParams { |
// the resulting FrameHostMsg_DidCommitProvisionalLoad message. |
int nav_entry_id; |
+ // Whether the frame being navigated has already committed a real page, which |
+ // affects how new navigations are classified in the renderer process. |
+ // This currently is only ever set to true in --site-per-process mode. |
+ // TODO(creis): Create FrameNavigationEntries by default so this always works. |
+ bool has_committed_real_load; |
+ |
// For browser-initiated navigations, this is true if this is a new entry |
// being navigated to. This is false otherwise. TODO(avi): Remove this when |
// the pending entry situation is made sane and the browser keeps them around |