chromium/components/bookmarks/test/test_bookmark_client.cc

// Copyright 2014 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/test/test_bookmark_client.h"

#include <stddef.h>

#include <memory>
#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/notreached.h"
#include "base/time/time.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/browser/bookmark_node.h"
#include "components/bookmarks/browser/bookmark_storage.h"
#include "components/favicon_base/favicon_types.h"
#include "ui/gfx/image/image.h"

namespace bookmarks {

TestBookmarkClient::TestBookmarkClient() = default;

TestBookmarkClient::~TestBookmarkClient() = default;

// static
std::unique_ptr<BookmarkModel> TestBookmarkClient::CreateModel() {}

// static
std::unique_ptr<BookmarkModel> TestBookmarkClient::CreateModelWithClient(
    std::unique_ptr<TestBookmarkClient> client) {}

BookmarkPermanentNode* TestBookmarkClient::EnableManagedNode() {}

bool TestBookmarkClient::IsManagedNodeRoot(const BookmarkNode* node) {}

bool TestBookmarkClient::SimulateFaviconLoaded(const GURL& page_url,
                                               const GURL& icon_url,
                                               const gfx::Image& image) {}

bool TestBookmarkClient::SimulateEmptyFaviconLoaded(const GURL& page_url) {}

bool TestBookmarkClient::HasFaviconLoadTasks() const {}

void TestBookmarkClient::SetIsSyncFeatureEnabledIncludingBookmarks(bool value) {}

void TestBookmarkClient::SetAccountBookmarkSyncMetadataAndScheduleWrite(
    const std::string& account_bookmark_sync_metadata) {}

LoadManagedNodeCallback TestBookmarkClient::GetLoadManagedNodeCallback() {}

bool TestBookmarkClient::IsSyncFeatureEnabledIncludingBookmarks() {}

bool TestBookmarkClient::CanSetPermanentNodeTitle(
    const BookmarkNode* permanent_node) {}

bool TestBookmarkClient::IsNodeManaged(const BookmarkNode* node) {}

std::string TestBookmarkClient::EncodeLocalOrSyncableBookmarkSyncMetadata() {}

std::string TestBookmarkClient::EncodeAccountBookmarkSyncMetadata() {}

void TestBookmarkClient::DecodeLocalOrSyncableBookmarkSyncMetadata(
    const std::string& metadata_str,
    const base::RepeatingClosure& schedule_save_closure) {}

void TestBookmarkClient::DecodeAccountBookmarkSyncMetadata(
    const std::string& metadata_str,
    const base::RepeatingClosure& schedule_save_closure) {}

base::CancelableTaskTracker::TaskId
TestBookmarkClient::GetFaviconImageForPageURL(
    const GURL& page_url,
    favicon_base::FaviconImageCallback callback,
    base::CancelableTaskTracker* tracker) {}

void TestBookmarkClient::OnBookmarkNodeRemovedUndoable(
    const BookmarkNode* parent,
    size_t index,
    std::unique_ptr<BookmarkNode> node) {}

// static
std::unique_ptr<BookmarkPermanentNode> TestBookmarkClient::LoadManagedNode(
    std::unique_ptr<BookmarkPermanentNode> managed_node,
    int64_t* next_id) {}

}  // namespace bookmarks