chromium/components/update_client/url_fetcher_downloader.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/update_client/url_fetcher_downloader.h"

#include <stdint.h>

#include <utility>

#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/functional/callback_helpers.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/thread_pool.h"
#include "components/update_client/network.h"
#include "components/update_client/task_traits.h"
#include "components/update_client/update_client_errors.h"
#include "components/update_client/utils.h"
#include "url/gurl.h"

namespace update_client {

UrlFetcherDownloader::UrlFetcherDownloader(
    scoped_refptr<CrxDownloader> successor,
    scoped_refptr<NetworkFetcherFactory> network_fetcher_factory)
    :{}

UrlFetcherDownloader::~UrlFetcherDownloader() = default;

base::OnceClosure UrlFetcherDownloader::DoStartDownload(const GURL& url) {}

void UrlFetcherDownloader::CreateDownloadDir() {}

void UrlFetcherDownloader::StartURLFetch(const GURL& url) {}

void UrlFetcherDownloader::Cancel() {}

void UrlFetcherDownloader::OnNetworkFetcherComplete(int net_error,
                                                    int64_t content_size) {}

// This callback is used to indicate that a download has been started.
void UrlFetcherDownloader::OnResponseStarted(int response_code,
                                             int64_t content_length) {}

void UrlFetcherDownloader::OnDownloadProgress(int64_t current) {}

}  // namespace update_client