#include "components/bookmarks/browser/model_loader.h"
#include <memory>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "components/bookmarks/browser/bookmark_client.h"
#include "components/bookmarks/browser/bookmark_load_details.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace bookmarks {
namespace {
const char kLocalOrSyncableIdsReassignedMetricName[] = …;
const char kAccountIdsReassignedMetricName[] = …;
const base::FilePath& GetTestDataDir() { … }
const BookmarkNode* FindNodeByUuid(const UuidIndex& index,
const std::string& uuid_str) { … }
TEST(ModelLoaderTest, LoadNonEmptyModel) { … }
TEST(ModelLoaderTest, LoadTwoFilesWithNonCollidingIds) { … }
TEST(ModelLoaderTest, LoadTwoFilesWithCollidingIdsAcross) { … }
TEST(ModelLoaderTest, LoadTwoFilesWhereFirstHasInternalIdCollisions) { … }
TEST(ModelLoaderTest, LoadTwoFilesWhereSecondHasInternalIdCollisions) { … }
TEST(ModelLoaderTest, LoadTwoFilesWhereBothHaveInternalIdCollisions) { … }
TEST(ModelLoaderTest, LoadTwoFilesWhereTheLocalOrSyncableFileDoesNotExist) { … }
}
}