#include "content/browser/loader/cached_navigation_url_loader.h"
#include "content/browser/loader/navigation_early_hints_manager.h"
#include "content/browser/loader/navigation_url_loader_delegate.h"
#include "content/browser/loader/navigation_url_loader_impl.h"
#include "content/browser/navigation_subresource_loader_params.h"
#include "content/browser/renderer_host/navigation_request_info.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/global_request_id.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_contents.h"
#include "services/network/public/mojom/parsed_headers.mojom.h"
namespace content {
CachedNavigationURLLoader::CachedNavigationURLLoader(
LoaderType loader_type,
std::unique_ptr<NavigationRequestInfo> request_info,
NavigationURLLoaderDelegate* delegate,
network::mojom::URLResponseHeadPtr cached_response_head)
: … { … }
void CachedNavigationURLLoader::OnResponseStarted() { … }
CachedNavigationURLLoader::~CachedNavigationURLLoader() { … }
std::unique_ptr<NavigationURLLoader> CachedNavigationURLLoader::Create(
LoaderType loader_type,
std::unique_ptr<NavigationRequestInfo> request_info,
NavigationURLLoaderDelegate* delegate,
network::mojom::URLResponseHeadPtr cached_response_head) { … }
void CachedNavigationURLLoader::Start() { … }
void CachedNavigationURLLoader::FollowRedirect(
const std::vector<std::string>& removed_headers,
const net::HttpRequestHeaders& modified_headers,
const net::HttpRequestHeaders& modified_cors_exempt_headers) { … }
bool CachedNavigationURLLoader::SetNavigationTimeout(base::TimeDelta timeout) { … }
void CachedNavigationURLLoader::CancelNavigationTimeout() { … }
}