summaryrefslogtreecommitdiff
path: root/chromium/content/browser/frame_host/navigation_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/frame_host/navigation_request.h')
-rw-r--r--chromium/content/browser/frame_host/navigation_request.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/chromium/content/browser/frame_host/navigation_request.h b/chromium/content/browser/frame_host/navigation_request.h
index 10440a4a70c..d358e5c8840 100644
--- a/chromium/content/browser/frame_host/navigation_request.h
+++ b/chromium/content/browser/frame_host/navigation_request.h
@@ -32,7 +32,6 @@ namespace content {
class FrameNavigationEntry;
class FrameTreeNode;
-class NavigationControllerImpl;
class NavigationHandleImpl;
class NavigationURLLoader;
class NavigationData;
@@ -80,19 +79,19 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate {
};
// Creates a request for a browser-intiated navigation.
+ // Note: this is sometimes called for renderer-initiated navigations going
+ // through the OpenURL path. |browser_initiated| should be false in that case.
+ // TODO(clamy): Rename this function and consider merging it with
+ // CreateRendererInitiated.
static std::unique_ptr<NavigationRequest> CreateBrowserInitiated(
FrameTreeNode* frame_tree_node,
- const GURL& dest_url,
- const Referrer& dest_referrer,
+ const CommonNavigationParams& common_params,
+ const RequestNavigationParams& request_params,
+ bool browser_initiated,
+ const std::string& extra_headers,
const FrameNavigationEntry& frame_entry,
const NavigationEntryImpl& entry,
- FrameMsg_Navigate_Type::Value navigation_type,
- PreviewsState previews_state,
- bool is_same_document_history_load,
- bool is_history_navigation_in_new_child,
const scoped_refptr<network::ResourceRequestBody>& post_body,
- const base::TimeTicks& navigation_start,
- NavigationControllerImpl* controller,
std::unique_ptr<NavigationUIData> navigation_ui_data);
// Creates a request for a renderer-intiated navigation.