#include "services/network/shared_storage/shared_storage_header_utils.h"
#include <optional>
#include "base/containers/fixed_flat_map.h"
#include "net/http/http_request_headers.h"
#include "net/http/structured_headers.h"
#include "services/network/public/mojom/url_loader_network_service_observer.mojom.h"
namespace network {
namespace {
constexpr auto kSharedStorageOperationTypeMap = …;
constexpr auto kSharedStorageHeaderParamTypeMap = …;
}
std::optional<mojom::SharedStorageOperationType>
StringToSharedStorageOperationType(std::string_view operation_str) { … }
std::optional<SharedStorageHeaderParamType>
StringToSharedStorageHeaderParamType(std::string_view param_str) { … }
bool GetSecSharedStorageWritableHeader(const net::HttpRequestHeaders& headers) { … }
}