chromium/components/offline_items_collection/core/offline_content_aggregator.cc

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

#include <string>
#include <utility>

#include "base/functional/bind.h"
#include "base/ranges/algorithm.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/single_thread_task_runner.h"
#include "components/offline_items_collection/core/offline_content_aggregator.h"
#include "components/offline_items_collection/core/offline_item.h"

namespace offline_items_collection {

namespace {

template <typename T, typename U>
bool MapContainsValue(const std::map<T, U>& map, U value) {}

}  // namespace

OfflineContentAggregator::OfflineContentAggregator() {}

OfflineContentAggregator::~OfflineContentAggregator() = default;

std::string OfflineContentAggregator::CreateUniqueNameSpace(
    const std::string& prefix,
    bool is_off_the_record) {}

void OfflineContentAggregator::RegisterProvider(
    const std::string& name_space,
    OfflineContentProvider* provider) {}

void OfflineContentAggregator::UnregisterProvider(
    const std::string& name_space) {}

void OfflineContentAggregator::OpenItem(const OpenParams& open_params,
                                        const ContentId& id) {}

void OfflineContentAggregator::RemoveItem(const ContentId& id) {}

void OfflineContentAggregator::CancelDownload(const ContentId& id) {}

void OfflineContentAggregator::PauseDownload(const ContentId& id) {}

void OfflineContentAggregator::ResumeDownload(const ContentId& id) {}

void OfflineContentAggregator::GetItemById(const ContentId& id,
                                           SingleItemCallback callback) {}

void OfflineContentAggregator::OnGetItemByIdDone(
    SingleItemCallback callback,
    const std::optional<OfflineItem>& item) {}

void OfflineContentAggregator::GetAllItems(MultipleItemCallback callback) {}

void OfflineContentAggregator::OnGetAllItemsDone(
    OfflineContentProvider* provider,
    const OfflineItemList& items) {}

void OfflineContentAggregator::GetVisualsForItem(const ContentId& id,
                                                 GetVisualsOptions options,
                                                 VisualsCallback callback) {}

void OfflineContentAggregator::GetShareInfoForItem(const ContentId& id,
                                                   ShareCallback callback) {}

void OfflineContentAggregator::RenameItem(const ContentId& id,
                                          const std::string& name,
                                          RenameCallback callback) {}

void OfflineContentAggregator::OnItemsAdded(const OfflineItemList& items) {}

void OfflineContentAggregator::OnItemRemoved(const ContentId& id) {}

void OfflineContentAggregator::OnItemUpdated(
    const OfflineItem& item,
    const std::optional<UpdateDelta>& update_delta) {}

void OfflineContentAggregator::OnContentProviderGoingDown() {}

}  // namespace offline_items_collection