#include "content/browser/loader/navigation_url_loader.h"
#include <utility>
#include "base/command_line.h"
#include "base/trace_event/trace_event.h"
#include "content/browser/loader/cached_navigation_url_loader.h"
#include "content/browser/loader/navigation_loader_interceptor.h"
#include "content/browser/loader/navigation_url_loader_factory.h"
#include "content/browser/loader/navigation_url_loader_impl.h"
#include "content/browser/renderer_host/navigation_request_info.h"
#include "content/browser/web_package/prefetched_signed_exchange_cache.h"
#include "content/public/browser/navigation_ui_data.h"
#include "services/network/public/cpp/features.h"
namespace content {
static NavigationURLLoaderFactory* g_loader_factory = …;
std::unique_ptr<NavigationURLLoader> NavigationURLLoader::Create(
BrowserContext* browser_context,
StoragePartition* storage_partition,
std::unique_ptr<NavigationRequestInfo> request_info,
std::unique_ptr<NavigationUIData> navigation_ui_data,
ServiceWorkerMainResourceHandle* service_worker_handle,
scoped_refptr<PrefetchedSignedExchangeCache>
prefetched_signed_exchange_cache,
NavigationURLLoaderDelegate* delegate,
LoaderType loader_type,
mojo::PendingRemote<network::mojom::CookieAccessObserver> cookie_observer,
mojo::PendingRemote<network::mojom::TrustTokenAccessObserver>
trust_token_observer,
mojo::PendingRemote<network::mojom::SharedDictionaryAccessObserver>
shared_dictionary_observer,
mojo::PendingRemote<network::mojom::URLLoaderNetworkServiceObserver>
url_loader_network_observer,
mojo::PendingRemote<network::mojom::DevToolsObserver> devtools_observer,
network::mojom::URLResponseHeadPtr cached_response_head,
std::vector<std::unique_ptr<NavigationLoaderInterceptor>>
initial_interceptors) { … }
void NavigationURLLoader::SetFactoryForTesting(
NavigationURLLoaderFactory* factory) { … }
uint32_t NavigationURLLoader::GetURLLoaderOptions(
bool is_outermost_main_frame) { … }
}