Index: content/common/frame_messages.h |
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h |
index 0f2f6e6c074d6b83572a703b8e3b05f5cbb88c6d..5271e4e191c55ffc62063bf46bcfbe81b10731b8 100644 |
--- a/content/common/frame_messages.h |
+++ b/content/common/frame_messages.h |
@@ -124,6 +124,7 @@ IPC_STRUCT_END() |
IPC_STRUCT_TRAITS_BEGIN(content::FrameNavigateParams) |
IPC_STRUCT_TRAITS_MEMBER(page_id) |
+ IPC_STRUCT_TRAITS_MEMBER(nav_entry_id) |
IPC_STRUCT_TRAITS_MEMBER(url) |
IPC_STRUCT_TRAITS_MEMBER(base_url) |
IPC_STRUCT_TRAITS_MEMBER(referrer) |
@@ -142,6 +143,15 @@ IPC_STRUCT_BEGIN_WITH_PARENT(FrameHostMsg_DidCommitProvisionalLoad_Params, |
content::FrameNavigateParams) |
IPC_STRUCT_TRAITS_PARENT(content::FrameNavigateParams) |
+ // This is the value from the browser (copied from the navigation request) |
+ // indicating whether it intended to make a new entry. TODO(avi): Remove this |
+ // when the pending entry situation is made sane and the browser keeps them |
+ // around long enough to match them via nav_entry_id. |
+ IPC_STRUCT_MEMBER(bool, intended_as_new_entry) |
+ |
+ // Whether this commit created a new entry. |
+ IPC_STRUCT_MEMBER(bool, did_create_new_entry) |
+ |
// Information regarding the security of the connection (empty if the |
// connection was not secure). |
IPC_STRUCT_MEMBER(std::string, security_info) |
@@ -273,6 +283,8 @@ IPC_STRUCT_TRAITS_BEGIN(content::RequestNavigationParams) |
IPC_STRUCT_TRAITS_MEMBER(request_time) |
IPC_STRUCT_TRAITS_MEMBER(page_state) |
IPC_STRUCT_TRAITS_MEMBER(page_id) |
+ IPC_STRUCT_TRAITS_MEMBER(nav_entry_id) |
+ IPC_STRUCT_TRAITS_MEMBER(intended_as_new_entry) |
IPC_STRUCT_TRAITS_MEMBER(pending_history_list_offset) |
IPC_STRUCT_TRAITS_MEMBER(current_history_list_offset) |
IPC_STRUCT_TRAITS_MEMBER(current_history_list_length) |