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

Unified Diff: content/browser/frame_host/navigation_request_info.h

Issue 872473003: PlzNavigate: Remove the RequestNavigation IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits + fix compilation error Created 5 years, 10 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_request_info.h
diff --git a/content/browser/frame_host/navigation_request_info.h b/content/browser/frame_host/navigation_request_info.h
index 70bb78729ddcc5578258eb9b536bf2f1c8883971..2721c3d73ad539ee9b6afb1263abf8d426d943ae 100644
--- a/content/browser/frame_host/navigation_request_info.h
+++ b/content/browser/frame_host/navigation_request_info.h
@@ -8,31 +8,39 @@
#include <string>
#include "base/basictypes.h"
+#include "base/memory/ref_counted.h"
#include "content/common/content_export.h"
-#include "content/common/frame_messages.h"
+#include "content/common/navigation_params.h"
+#include "content/common/resource_request_body.h"
#include "content/public/common/referrer.h"
#include "url/gurl.h"
namespace content {
+class ResourceRequestBody;
// A struct to hold the parameters needed to start a navigation request in
// ResourceDispatcherHost. It is initialized on the UI thread, and then passed
// to the IO thread by a NavigationRequest object.
struct CONTENT_EXPORT NavigationRequestInfo {
- explicit NavigationRequestInfo(
- const FrameHostMsg_BeginNavigation_Params& params);
+ NavigationRequestInfo(const CommonNavigationParams& common_params,
+ const BeginNavigationParams& params,
+ const GURL& first_party_for_cookies,
+ bool is_main_frame,
+ bool parent_is_main_frame,
+ scoped_refptr<ResourceRequestBody> request_body);
+ ~NavigationRequestInfo();
- const FrameHostMsg_BeginNavigation_Params navigation_params;
-
- // ---------------------------------------------------------------------------
- // The following parameters should be filled in by RenderFrameHostManager
- // before the navigation request is sent to the ResourceDispatcherHost.
+ const CommonNavigationParams common_params;
+ const BeginNavigationParams begin_params;
// Usually the URL of the document in the top-level window, which may be
// checked by the third-party cookie blocking policy.
- GURL first_party_for_cookies;
- bool is_main_frame;
- bool parent_is_main_frame;
+ const GURL first_party_for_cookies;
+
+ const bool is_main_frame;
+ const bool parent_is_main_frame;
+
+ scoped_refptr<ResourceRequestBody> request_body;
};
} // namespace content
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/browser/frame_host/navigation_request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698