PlzNavigate: Remove the RequestNavigation IPC

This CL removes the RequestNavigation IPC. Instead, browser-side navigation
will now send a BeforeUnload IPC to the renderer if needed and wait for a
BeforeUnloadACK to proceed with navigations.

BUG=376006

Review URL: https://codereview.chromium.org/872473003

Cr-Commit-Position: refs/heads/master@{#314830}
diff --git a/content/browser/frame_host/navigation_request_info.cc b/content/browser/frame_host/navigation_request_info.cc
index 91568ad..76b98c3 100644
--- a/content/browser/frame_host/navigation_request_info.cc
+++ b/content/browser/frame_host/navigation_request_info.cc
@@ -4,15 +4,23 @@
 
 #include "content/browser/frame_host/navigation_request_info.h"
 
-#include "content/common/resource_request_body.h"
-
 namespace content {
 
 NavigationRequestInfo::NavigationRequestInfo(
-    const FrameHostMsg_BeginNavigation_Params& params)
-    : navigation_params(params),
-      is_main_frame(true),
-      parent_is_main_frame(false) {
+    const CommonNavigationParams& common_params,
+    const BeginNavigationParams& begin_params,
+    const GURL& first_party_for_cookies,
+    bool is_main_frame,
+    bool parent_is_main_frame,
+    scoped_refptr<ResourceRequestBody> request_body)
+    : common_params(common_params),
+      begin_params(begin_params),
+      first_party_for_cookies(first_party_for_cookies),
+      is_main_frame(is_main_frame),
+      parent_is_main_frame(parent_is_main_frame),
+      request_body(request_body) {
 }
 
+NavigationRequestInfo::~NavigationRequestInfo() {}
+
 }  // namespace content