Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1791)

Unified Diff: content/common/frame_messages.h

Issue 1907443006: PlzNavigate: store POST data in the FrameNavigationEntry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 72baac5eb7fd41f06127e1024fef8101a6d4e34d..d157d4d65d5ea47e8ed1a6b572c4eac07cf334e7 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -826,11 +826,12 @@ IPC_MESSAGE_ROUTED1(FrameMsg_SelectPopupMenuItem,
// Tells the renderer that a navigation is ready to commit. The renderer should
// request |stream_url| to get access to the stream containing the body of the
// response.
-IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation,
- content::ResourceResponseHead, /* response */
- GURL, /* stream_url */
- content::CommonNavigationParams, /* common_params */
- content::RequestNavigationParams /* request_params */)
+IPC_MESSAGE_ROUTED5(FrameMsg_CommitNavigation,
+ content::ResourceResponseHead, /* response */
+ GURL, /* stream_url */
+ content::CommonNavigationParams, /* common_params */
+ content::RequestNavigationParams, /* request_params */
+ scoped_refptr<content::ResourceRequestBody> /* post_data */)
// PlzNavigate
// Tells the renderer that a navigation failed with the error code |error_code|
@@ -937,8 +938,9 @@ IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError,
// Notifies the browser that a frame in the view has changed. This message
// has a lot of parameters and is packed/unpacked by functions defined in
// render_messages.h.
-IPC_MESSAGE_ROUTED1(FrameHostMsg_DidCommitProvisionalLoad,
- FrameHostMsg_DidCommitProvisionalLoad_Params)
+IPC_MESSAGE_ROUTED2(FrameHostMsg_DidCommitProvisionalLoad,
+ FrameHostMsg_DidCommitProvisionalLoad_Params,
+ scoped_refptr<content::ResourceRequestBody>)
// Notifies the browser that a document has been loaded.
IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad)

Powered by Google App Engine
This is Rietveld 408576698