#include "third_party/blink/renderer/platform/loader/fetch/fetch_parameters.h"
#include <memory>
#include <utility>
#include "third_party/blink/renderer/platform/loader/fetch/resource_fetcher.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"
namespace blink {
FetchParameters FetchParameters::CreateForTest(
ResourceRequest resource_request) { … }
FetchParameters::FetchParameters(ResourceRequest resource_request,
ResourceLoaderOptions options)
: … { … }
FetchParameters::FetchParameters(FetchParameters&&) = default;
FetchParameters::~FetchParameters() = default;
void FetchParameters::SetCrossOriginAccessControl(
const SecurityOrigin* origin,
CrossOriginAttributeValue cross_origin) { … }
void FetchParameters::SetCrossOriginAccessControl(
const SecurityOrigin* origin,
network::mojom::CredentialsMode credentials_mode) { … }
void FetchParameters::SetResourceWidth(
const std::optional<float> resource_width) { … }
void FetchParameters::SetResourceHeight(
const std::optional<float> resource_height) { … }
void FetchParameters::SetSpeculativePreloadType(
SpeculativePreloadType speculative_preload_type) { … }
void FetchParameters::MakeSynchronous() { … }
void FetchParameters::SetLazyImageDeferred() { … }
void FetchParameters::SetLazyImageNonBlocking() { … }
void FetchParameters::SetModuleScript() { … }
}