chromium/components/power_bookmarks/storage/empty_power_bookmark_database.cc

// Copyright 2022 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/power_bookmarks/storage/empty_power_bookmark_database.h"

#include "components/power_bookmarks/common/search_params.h"
#include "components/sync/protocol/power_bookmark_specifics.pb.h"
#include "url/gurl.h"

namespace power_bookmarks {

namespace {
class EmptyDatabaseTransaction : public Transaction {};

bool EmptyDatabaseTransaction::Commit() {}
}  // namespace

EmptyPowerBookmarkDatabase::EmptyPowerBookmarkDatabase() = default;

EmptyPowerBookmarkDatabase::~EmptyPowerBookmarkDatabase() = default;

bool EmptyPowerBookmarkDatabase::Init() {}

bool EmptyPowerBookmarkDatabase::IsOpen() {}

std::vector<std::unique_ptr<Power>> EmptyPowerBookmarkDatabase::GetPowersForURL(
    const GURL& url,
    const sync_pb::PowerBookmarkSpecifics::PowerType& power_type) {}

std::vector<std::unique_ptr<PowerOverview>>
EmptyPowerBookmarkDatabase::GetPowerOverviewsForType(
    const sync_pb::PowerBookmarkSpecifics::PowerType& power_type) {}

std::vector<std::unique_ptr<Power>>
EmptyPowerBookmarkDatabase::GetPowersForSearchParams(
    const SearchParams& search_params) {}

std::vector<std::unique_ptr<PowerOverview>>
EmptyPowerBookmarkDatabase::GetPowerOverviewsForSearchParams(
    const SearchParams& search_params) {}

bool EmptyPowerBookmarkDatabase::CreatePower(std::unique_ptr<Power> power) {}

std::unique_ptr<Power> EmptyPowerBookmarkDatabase::UpdatePower(
    std::unique_ptr<Power> power) {}

bool EmptyPowerBookmarkDatabase::DeletePower(const base::Uuid& guid) {}

bool EmptyPowerBookmarkDatabase::DeletePowersForURL(
    const GURL& url,
    const sync_pb::PowerBookmarkSpecifics::PowerType& power_type,
    std::vector<std::string>* deleted_guids) {}

std::vector<std::unique_ptr<Power>> EmptyPowerBookmarkDatabase::GetAllPowers() {}

std::vector<std::unique_ptr<Power>>
EmptyPowerBookmarkDatabase::GetPowersForGUIDs(
    const std::vector<std::string>& guids) {}

std::unique_ptr<Power> EmptyPowerBookmarkDatabase::GetPowerForGUID(
    const std::string& guid) {}

bool EmptyPowerBookmarkDatabase::CreateOrMergePowerFromSync(
    const Power& power) {}

bool EmptyPowerBookmarkDatabase::DeletePowerFromSync(const std::string& guid) {}

PowerBookmarkSyncMetadataDatabase*
EmptyPowerBookmarkDatabase::GetSyncMetadataDatabase() {}

std::unique_ptr<Transaction> EmptyPowerBookmarkDatabase::BeginTransaction() {}

}  // namespace power_bookmarks