#include "components/saved_tab_groups/saved_tab_group_test_utils.h"
#include "base/rand_util.h"
#include "base/token.h"
#include "build/build_config.h"
#include "components/sync/protocol/sync_enums.pb.h"
#include "components/sync_device_info/device_info.h"
#include "components/tab_groups/tab_group_color.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/url_constants.h"
namespace tab_groups::test {
LocalTabGroupID GenerateRandomTabGroupID() { … }
LocalTabID GenerateRandomTabID() { … }
void CompareSavedTabGroupTabs(const std::vector<SavedTabGroupTab>& v1,
const std::vector<SavedTabGroupTab>& v2) { … }
bool CompareSavedTabGroups(const SavedTabGroup& g1, const SavedTabGroup& g2) { … }
SavedTabGroupTab CreateSavedTabGroupTab(const std::string& url,
const std::u16string& title,
const base::Uuid& group_guid,
std::optional<int> position) { … }
SavedTabGroup CreateTestSavedTabGroup(std::optional<base::Time> creation_date) { … }
SavedTabGroup CreateTestSavedTabGroupWithNoTabs() { … }
TabGroupVisualData CreateTabGroupVisualData() { … }
std::unique_ptr<syncer::DeviceInfo> CreateDeviceInfo(
const std::string& guid,
syncer::DeviceInfo::OsType os_type,
syncer::DeviceInfo::FormFactor form_factor) { … }
}