Index: content/common/frame_messages.h |
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h |
index 8a4fb0c3d2a45029db222d5bfa051d74aeb36b09..cd516ce548baa06081cef62b62c353511b5e3126 100644 |
--- a/content/common/frame_messages.h |
+++ b/content/common/frame_messages.h |
@@ -111,6 +111,8 @@ IPC_STRUCT_END() |
IPC_STRUCT_BEGIN(FrameHostMsg_DidFailProvisionalLoadWithError_Params) |
// Error code as reported in the DidFailProvisionalLoad callback. |
IPC_STRUCT_MEMBER(int, error_code) |
+ // The unique id of the navigation that failed. |
+ IPC_STRUCT_MEMBER(int, nav_entry_id) |
// An error message generated from the error_code. This can be an empty |
// string if we were unable to find a meaningful description. |
IPC_STRUCT_MEMBER(base::string16, error_description) |
@@ -123,6 +125,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) |
@@ -141,6 +144,10 @@ IPC_STRUCT_BEGIN_WITH_PARENT(FrameHostMsg_DidCommitProvisionalLoad_Params, |
content::FrameNavigateParams) |
IPC_STRUCT_TRAITS_PARENT(content::FrameNavigateParams) |
+ // Whether this commit created a new entry. TODO(avi): Does this need to go in |
+ // FrameNavigateParams, instead? |
Charlie Reis
2015/04/10 23:54:21
If we don't know it until commit time, then it pro
Avi (use Gerrit)
2015/04/13 22:42:48
Good point.
|
+ 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) |
@@ -242,6 +249,7 @@ 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(pending_history_list_offset) |
IPC_STRUCT_TRAITS_MEMBER(current_history_list_offset) |
IPC_STRUCT_TRAITS_MEMBER(current_history_list_length) |