#include "components/bookmarks/managed/managed_bookmarks_tracker.h"
#include <memory>
#include <utility>
#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "base/memory/raw_ptr.h"
#include "base/ranges/algorithm.h"
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/task_environment.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/browser/bookmark_model_observer.h"
#include "components/bookmarks/browser/bookmark_node.h"
#include "components/bookmarks/browser/bookmark_utils.h"
#include "components/bookmarks/common/bookmark_pref_names.h"
#include "components/bookmarks/test/bookmark_test_helpers.h"
#include "components/bookmarks/test/mock_bookmark_model_observer.h"
#include "components/bookmarks/test/test_bookmark_client.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "components/strings/grit/components_strings.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"
#include "url/gurl.h"
Mock;
_;
namespace bookmarks {
class ManagedBookmarksTrackerTest : public testing::Test { … };
TEST_F(ManagedBookmarksTrackerTest, Empty) { … }
TEST_F(ManagedBookmarksTrackerTest, LoadInitial) { … }
TEST_F(ManagedBookmarksTrackerTest, LoadInitialWithTitle) { … }
TEST_F(ManagedBookmarksTrackerTest, DynamicRefreshOfTitle) { … }
TEST_F(ManagedBookmarksTrackerTest, SwapNodes) { … }
TEST_F(ManagedBookmarksTrackerTest, RemoveNode) { … }
TEST_F(ManagedBookmarksTrackerTest, CreateNewNodes) { … }
TEST_F(ManagedBookmarksTrackerTest, RemoveAll) { … }
TEST_F(ManagedBookmarksTrackerTest, IsManaged) { … }
TEST_F(ManagedBookmarksTrackerTest, RemoveAllUserBookmarksDoesntRemoveManaged) { … }
}