chromium/components/update_client/crx_downloader_factory.cc

// Copyright 2020 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/update_client/crx_downloader_factory.h"

#include <cstdint>
#include <optional>

#include "base/files/file_path.h"
#include "base/memory/scoped_refptr.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/thread_pool.h"
#include "build/build_config.h"
#include "components/update_client/crx_downloader.h"
#include "components/update_client/network.h"
#include "components/update_client/task_traits.h"
#include "components/update_client/url_fetcher_downloader.h"

#if BUILDFLAG(IS_WIN)
#include "components/update_client/background_downloader_win.h"
#elif BUILDFLAG(IS_MAC)
#include "components/update_client/background_downloader_mac.h"
#endif

namespace update_client {
namespace {

class CrxDownloaderFactoryChromium : public CrxDownloaderFactory {};

scoped_refptr<CrxDownloader> CrxDownloaderFactoryChromium::MakeCrxDownloader(
    bool background_download_enabled) const {}

}  // namespace

scoped_refptr<CrxDownloaderFactory> MakeCrxDownloaderFactory(
    scoped_refptr<NetworkFetcherFactory> network_fetcher_factory,
    std::optional<base::FilePath> background_downloader_cache_path) {}

}  // namespace update_client