#include "third_party/blink/public/common/loader/network_utils.h"
#include "media/media_buildflags.h"
#include "net/http/http_request_headers.h"
#include "services/network/public/cpp/constants.h"
#include "services/network/public/mojom/fetch_api.mojom.h"
#include "third_party/blink/public/common/buildflags.h"
namespace blink {
namespace network_utils {
namespace {
constexpr char kJsonAcceptHeader[] = …;
constexpr char kStylesheetAcceptHeader[] = …;
constexpr char kWebBundleAcceptHeader[] = …;
}
bool AlwaysAccessNetwork(
const scoped_refptr<net::HttpResponseHeaders>& headers) { … }
const char* ImageAcceptHeader() { … }
void SetAcceptHeader(net::HttpRequestHeaders& headers,
network::mojom::RequestDestination request_destination) { … }
const char* GetAcceptHeaderForDestination(
network::mojom::RequestDestination request_destination) { … }
}
}