#include "chrome/browser/ui/browser_navigator_params.h"
#include <utility>
#include "build/build_config.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/page_navigator.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
#if !BUILDFLAG(IS_ANDROID)
#include "chrome/browser/ui/browser.h"
#endif
GlobalRequestID;
NavigationController;
WebContents;
#if BUILDFLAG(IS_ANDROID)
NavigateParams::NavigateParams(std::unique_ptr<WebContents> contents_to_insert)
: contents_to_insert(std::move(contents_to_insert)) {}
#else
NavigateParams::NavigateParams(Browser* a_browser,
const GURL& a_url,
ui::PageTransition a_transition)
: … { … }
NavigateParams::NavigateParams(Browser* a_browser,
std::unique_ptr<WebContents> contents_to_insert)
: … { … }
#endif
NavigateParams::NavigateParams(Profile* a_profile,
const GURL& a_url,
ui::PageTransition a_transition)
: … { … }
NavigateParams::NavigateParams(NavigateParams&&) = default;
NavigateParams::~NavigateParams() { … }
void NavigateParams::FillNavigateParamsFromOpenURLParams(
const content::OpenURLParams& params) { … }