chromium/components/bookmarks/managed/managed_bookmark_service.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// BookmarkPermanentNodeLoader initializes a BookmarkPermanentNode from a JSON
// representation, title id and starting node id.
class BookmarkPermanentNodeLoader {};

// Returns a std::unique_ptr<BookmarkPermanentNode> using |next_node_id| for
// assigning an id. |next_node_id| is updated as a side effect of calling this
// method.
std::unique_ptr<BookmarkPermanentNode> LoadManagedNode(
    std::unique_ptr<BookmarkPermanentNodeLoader> loader,
    int64_t* next_node_id) {}

}  // namespace

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() {}

}  // namespace bookmarks