chromium/components/download/internal/background_service/model_impl.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 "components/download/internal/background_service/model_impl.h"

#include <map>
#include <memory>

#include "base/functional/bind.h"
#include "base/not_fatal_until.h"
#include "base/trace_event/memory_usage_estimator.h"
#include "components/download/internal/background_service/entry.h"
#include "components/download/internal/background_service/model_stats.h"

namespace download {

ModelImpl::ModelImpl(std::unique_ptr<Store> store)
    :{}

ModelImpl::~ModelImpl() = default;

void ModelImpl::Initialize(Client* client) {}

void ModelImpl::HardRecover() {}

void ModelImpl::Add(const Entry& entry) {}

void ModelImpl::Update(const Entry& entry) {}

void ModelImpl::Remove(const std::string& guid) {}

Entry* ModelImpl::Get(const std::string& guid) {}

Model::EntryList ModelImpl::PeekEntries() {}

void ModelImpl::OnInitializedFinished(
    bool success,
    std::unique_ptr<std::vector<Entry>> entries) {}

void ModelImpl::OnHardRecoverFinished(bool success) {}

void ModelImpl::OnAddFinished(DownloadClient client,
                              const std::string& guid,
                              bool success) {}

void ModelImpl::OnUpdateFinished(DownloadClient client,
                                 const std::string& guid,
                                 bool success) {}

void ModelImpl::OnRemoveFinished(DownloadClient client,
                                 const std::string& guid,
                                 bool success) {}

size_t ModelImpl::EstimateMemoryUsage() const {}

}  // namespace download