#include "components/saved_tab_groups/saved_tab_group_tab.h"
#include "base/strings/utf_string_conversions.h"
#include "components/saved_tab_groups/features.h"
#include "components/saved_tab_groups/saved_tab_group.h"
namespace tab_groups {
SavedTabGroupTab::SavedTabGroupTab(
const GURL& url,
const std::u16string& title,
const base::Uuid& group_guid,
std::optional<size_t> position,
std::optional<base::Uuid> saved_tab_guid,
std::optional<LocalTabID> local_tab_id,
std::optional<std::string> creator_cache_guid,
std::optional<std::string> last_updater_cache_guid,
std::optional<base::Time> creation_time_windows_epoch_micros,
std::optional<base::Time> update_time_windows_epoch_micros,
std::optional<gfx::Image> favicon)
: … { … }
SavedTabGroupTab::SavedTabGroupTab(const SavedTabGroupTab& other) = default;
SavedTabGroupTab& SavedTabGroupTab::operator=(const SavedTabGroupTab& other) =
default;
SavedTabGroupTab::SavedTabGroupTab(SavedTabGroupTab&& other) = default;
SavedTabGroupTab& SavedTabGroupTab::operator=(SavedTabGroupTab&& other) =
default;
SavedTabGroupTab::~SavedTabGroupTab() = default;
bool SavedTabGroupTab::ShouldMergeTab(
const SavedTabGroupTab& remote_tab) const { … }
void SavedTabGroupTab::MergeRemoteTab(const SavedTabGroupTab& remote_tab) { … }
bool SavedTabGroupTab::IsSyncEquivalent(const SavedTabGroupTab& other) const { … }
SavedTabGroupTabBuilder::SavedTabGroupTabBuilder() = default;
SavedTabGroupTabBuilder::~SavedTabGroupTabBuilder() = default;
SavedTabGroupTabBuilder& SavedTabGroupTabBuilder::SetURL(const GURL& url) { … }
SavedTabGroupTabBuilder& SavedTabGroupTabBuilder::SetTitle(
const std::u16string& title) { … }
SavedTabGroupTabBuilder& SavedTabGroupTabBuilder::SetPosition(size_t position) { … }
SavedTabGroupTabBuilder& SavedTabGroupTabBuilder::SetRedirectURLChain(
const std::vector<GURL>& redirect_url_chain) { … }
SavedTabGroupTab SavedTabGroupTabBuilder::Build(
const SavedTabGroupTab& tab) const { … }
}