#ifndef THIRD_PARTY_BLINK_PUBLIC_COMMON_LOADER_NETWORK_UTILS_H_
#define THIRD_PARTY_BLINK_PUBLIC_COMMON_LOADER_NETWORK_UTILS_H_
#include "base/memory/scoped_refptr.h"
#include "net/http/http_response_headers.h"
#include "services/network/public/mojom/fetch_api.mojom-forward.h"
#include "third_party/blink/public/common/common_export.h"
namespace net {
class HttpRequestHeaders;
}
namespace blink {
namespace network_utils {
BLINK_COMMON_EXPORT bool AlwaysAccessNetwork(
const scoped_refptr<net::HttpResponseHeaders>& headers);
BLINK_COMMON_EXPORT const char* ImageAcceptHeader();
BLINK_COMMON_EXPORT void SetAcceptHeader(
net::HttpRequestHeaders& headers,
network::mojom::RequestDestination request_destination);
BLINK_COMMON_EXPORT const char* GetAcceptHeaderForDestination(
network::mojom::RequestDestination request_destination);
}
}
#endif