#include "components/bookmarks/managed/managed_bookmark_service.h"
#include <stdint.h>
#include <stdlib.h>
#include <memory>
#include <string>
#include <utility>
#include "base/check.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/values.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/browser/bookmark_utils.h"
#include "components/bookmarks/managed/managed_bookmarks_tracker.h"
#include "components/strings/grit/components_strings.h"
#include "ui/base/l10n/l10n_util.h"
namespace bookmarks {
namespace {
class BookmarkPermanentNodeLoader { … };
std::unique_ptr<BookmarkPermanentNode> LoadManagedNode(
std::unique_ptr<BookmarkPermanentNodeLoader> loader,
int64_t* next_node_id) { … }
}
ManagedBookmarkService::ManagedBookmarkService(
PrefService* prefs,
GetManagementDomainCallback callback)
: … { … }
ManagedBookmarkService::~ManagedBookmarkService() { … }
void ManagedBookmarkService::BookmarkModelCreated(
BookmarkModel* bookmark_model) { … }
LoadManagedNodeCallback ManagedBookmarkService::GetLoadManagedNodeCallback() { … }
bool ManagedBookmarkService::CanSetPermanentNodeTitle(
const BookmarkNode* node) { … }
bool ManagedBookmarkService::IsNodeManaged(const BookmarkNode* node) { … }
void ManagedBookmarkService::Shutdown() { … }
void ManagedBookmarkService::BookmarkModelChanged() { … }
void ManagedBookmarkService::BookmarkModelLoaded(bool ids_reassigned) { … }
void ManagedBookmarkService::BookmarkModelBeingDeleted() { … }
void ManagedBookmarkService::Cleanup() { … }
}