#ifndef SERVICES_NETWORK_SHARED_STORAGE_SHARED_STORAGE_HEADER_UTILS_H_
#define SERVICES_NETWORK_SHARED_STORAGE_SHARED_STORAGE_HEADER_UTILS_H_
#include <optional>
#include <string_view>
#include "services/network/public/mojom/url_loader_network_service_observer.mojom.h"
namespace net {
class HttpRequestHeaders;
}
namespace network {
inline constexpr std::string_view kSecSharedStorageWritableHeader = …;
inline constexpr std::string_view kSecSharedStorageWritableValue = …;
inline constexpr std::string_view kSharedStorageWriteHeader = …;
enum class SharedStorageHeaderParamType { … };
std::optional<network::mojom::SharedStorageOperationType>
StringToSharedStorageOperationType(std::string_view operation_str);
std::optional<SharedStorageHeaderParamType>
StringToSharedStorageHeaderParamType(std::string_view param_str);
bool GetSecSharedStorageWritableHeader(const net::HttpRequestHeaders& headers);
}
#endif