Skip to content

Truly independent web browser

557 B
Raw Blame
/*
 * Copyright (c) 2025, Aliaksandr Kalenik <[email protected]>
 * Copyright (c) 2025, Shannon Booth <[email protected]>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/Optional.h>
#include <AK/String.h>
#include <AK/Types.h>
#include <AK/Utf16String.h>

namespace WebView {

enum class StorageOperationError : u8 {
    QuotaExceededError,
};

// Error setting the storage item, or the old value if the operation was successful.
using StorageSetResult = Variant<StorageOperationError, Optional<Utf16String>>;

}