#include "components/saved_tab_groups/tab_group_sync_bridge_mediator.h"
#include <map>
#include <memory>
#include "base/run_loop.h"
#include "base/scoped_observation.h"
#include "base/test/task_environment.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/testing_pref_service.h"
#include "components/saved_tab_groups/pref_names.h"
#include "components/saved_tab_groups/saved_tab_group_model.h"
#include "components/saved_tab_groups/saved_tab_group_model_observer.h"
#include "components/saved_tab_groups/saved_tab_group_tab.h"
#include "components/saved_tab_groups/saved_tab_group_test_utils.h"
#include "components/saved_tab_groups/sync_data_type_configuration.h"
#include "components/saved_tab_groups/tab_group_sync_bridge_mediator.h"
#include "components/sync/model/data_type_store.h"
#include "components/sync/test/data_type_store_test_util.h"
#include "components/sync/test/mock_data_type_local_change_processor.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace tab_groups {
namespace {
_;
InvokeWithoutArgs;
Return;
class MockSavedTabGroupModelObserver : public SavedTabGroupModelObserver { … };
class TabGroupSyncBridgeMediatorTest : public testing::Test { … };
TEST_F(TabGroupSyncBridgeMediatorTest, ShouldInitializeEmptySavedTabGroups) { … }
TEST_F(TabGroupSyncBridgeMediatorTest, ShouldInitializeModelAfterRestart) { … }
TEST_F(TabGroupSyncBridgeMediatorTest, ShouldReturnSavedBridgeSyncing) { … }
TEST_F(TabGroupSyncBridgeMediatorTest, ShouldReturnSavedBridgeCacheGuid) { … }
TEST_F(TabGroupSyncBridgeMediatorTest, ShouldReturnSavedBridgeNotSyncing) { … }
TEST_F(TabGroupSyncBridgeMediatorTest, ShouldTransitionSavedTabGroupToShared) { … }
}
}