#include "components/sync_bookmarks/test_bookmark_model_view.h"
#include <utility>
#include "base/notreached.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/test/test_bookmark_client.h"
namespace sync_bookmarks {
namespace {
std::unique_ptr<BookmarkModelView> CreateWrappedView(
bookmarks::BookmarkModel* model,
TestBookmarkModelView::ViewType type) { … }
}
TestBookmarkModelView::TestBookmarkModelView(ViewType type)
: … { … }
TestBookmarkModelView::TestBookmarkModelView(
ViewType type,
std::unique_ptr<bookmarks::TestBookmarkClient> bookmark_client)
: … { … }
TestBookmarkModelView::~TestBookmarkModelView() = default;
TestBookmarkModelView::TestBookmarkModelView(
ViewType type,
std::unique_ptr<bookmarks::BookmarkModel> bookmark_model)
: … { … }
const bookmarks::BookmarkNode* TestBookmarkModelView::bookmark_bar_node()
const { … }
const bookmarks::BookmarkNode* TestBookmarkModelView::other_node() const { … }
const bookmarks::BookmarkNode* TestBookmarkModelView::mobile_node() const { … }
void TestBookmarkModelView::EnsurePermanentNodesExist() { … }
void TestBookmarkModelView::RemoveAllSyncableNodes() { … }
const bookmarks::BookmarkNode* TestBookmarkModelView::GetNodeByUuid(
const base::Uuid& uuid) const { … }
}