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

Unified Diff: content/browser/frame_host/navigation_controller_impl.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/browser/frame_host/navigation_controller_impl.h
diff --git a/content/browser/frame_host/navigation_controller_impl.h b/content/browser/frame_host/navigation_controller_impl.h
index f43106233e1c12cf3f2718e057be678849446122..c8d473c2027d04e81329012a366705af95ca757e 100644
--- a/content/browser/frame_host/navigation_controller_impl.h
+++ b/content/browser/frame_host/navigation_controller_impl.h
@@ -149,7 +149,8 @@ class CONTENT_EXPORT NavigationControllerImpl
bool RendererDidNavigate(
RenderFrameHostImpl* rfh,
const FrameHostMsg_DidCommitProvisionalLoad_Params& params,
- LoadCommittedDetails* details);
+ LoadCommittedDetails* details,
+ scoped_refptr<ResourceRequestBody> post_data);
Charlie Reis 2016/04/27 23:00:55 We shouldn't be adding more parameters here. Can
clamy 2016/04/29 16:07:16 We no longer send the ResourceRequestBody back to
// Notifies us that we just became active. This is used by the WebContentsImpl
// so that we know to load URLs that were pending as "lazy" loads.
@@ -284,20 +285,25 @@ class CONTENT_EXPORT NavigationControllerImpl
void RendererDidNavigateToNewPage(
RenderFrameHostImpl* rfh,
const FrameHostMsg_DidCommitProvisionalLoad_Params& params,
- bool replace_entry);
+ bool replace_entry,
+ scoped_refptr<ResourceRequestBody> post_data);
void RendererDidNavigateToExistingPage(
RenderFrameHostImpl* rfh,
- const FrameHostMsg_DidCommitProvisionalLoad_Params& params);
+ const FrameHostMsg_DidCommitProvisionalLoad_Params& params,
+ scoped_refptr<ResourceRequestBody> post_data);
void RendererDidNavigateToSamePage(
RenderFrameHostImpl* rfh,
- const FrameHostMsg_DidCommitProvisionalLoad_Params& params);
+ const FrameHostMsg_DidCommitProvisionalLoad_Params& params,
+ scoped_refptr<ResourceRequestBody> post_data);
void RendererDidNavigateNewSubframe(
RenderFrameHostImpl* rfh,
const FrameHostMsg_DidCommitProvisionalLoad_Params& params,
- bool replace_entry);
+ bool replace_entry,
+ scoped_refptr<ResourceRequestBody> post_data);
bool RendererDidNavigateAutoSubframe(
RenderFrameHostImpl* rfh,
- const FrameHostMsg_DidCommitProvisionalLoad_Params& params);
+ const FrameHostMsg_DidCommitProvisionalLoad_Params& params,
+ scoped_refptr<ResourceRequestBody> post_data);
// Helper function for code shared between Reload() and
// ReloadBypassingCache().

Powered by Google App Engine
This is Rietveld 408576698