chromium/chrome/browser/ui/tabs/tab_collection_storage.h

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_TABS_TAB_COLLECTION_STORAGE_H_
#define CHROME_BROWSER_UI_TABS_TAB_COLLECTION_STORAGE_H_

#include <memory>
#include <optional>
#include <variant>
#include <vector>

#include "base/memory/raw_ref.h"

namespace tabs {

class TabModel;
class TabCollection;

ChildrenVector;

// Provides reusable functionality useful to most TabCollections for storing
// and manipulating a vector of child tabs and collections.
// Note that a TabCollectionStorage *is not* a TabCollection, and it
// does not have:
// - a parent TabCollection: a TabCollectionStorage doesn't live in the
// collection tree
// - MaybeRemoveTab/MaybeRemoveCollection - the storage layer doesn't get to say
// no
class TabCollectionStorage final {};

}  // namespace tabs

#endif  // CHROME_BROWSER_UI_TABS_TAB_COLLECTION_STORAGE_H_