Skip to content

Truly independent web browser

498 B
Raw Blame
/*
 * Copyright (c) 2024, Jamie Mansfield <[email protected]>
 * Copyright (c) 2024, Tim Flynn <[email protected]>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibGC/Ptr.h>
#include <LibWeb/Forward.h>

namespace Web::StorageAPI {

class NavigatorStorage {
public:
    virtual ~NavigatorStorage() = default;

    GC::Ref<StorageManager> storage();

protected:
    virtual HTML::EnvironmentSettingsObject& navigator_storage_settings_object() const = 0;
};

}