#include "chrome/browser/download/download_status_updater.h"
#include <stdint.h>
#include <vector>
#include "base/memory/ptr_util.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/download/download_prefs.h"
#include "chrome/browser/profiles/keep_alive/profile_keep_alive_types.h"
#include "chrome/browser/profiles/keep_alive/scoped_profile_keep_alive.h"
#include "chrome/browser/profiles/profile.h"
namespace {
class WasInProgressData : public base::SupportsUserData::Data { … };
const char WasInProgressData::kKey[] = …;
}
#if !BUILDFLAG(IS_CHROMEOS_LACROS)
DownloadStatusUpdater::DownloadStatusUpdater() = default;
DownloadStatusUpdater::~DownloadStatusUpdater() = default;
#endif
bool DownloadStatusUpdater::GetProgress(float* progress,
int* download_count) const { … }
void DownloadStatusUpdater::AddManager(content::DownloadManager* manager) { … }
void DownloadStatusUpdater::OnDownloadCreated(content::DownloadManager* manager,
download::DownloadItem* item) { … }
void DownloadStatusUpdater::OnDownloadUpdated(content::DownloadManager* manager,
download::DownloadItem* item) { … }
void DownloadStatusUpdater::OnManagerGoingDown(
content::DownloadManager* manager) { … }
void DownloadStatusUpdater::UpdateProfileKeepAlive(
content::DownloadManager* manager) { … }
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS_ASH)
void DownloadStatusUpdater::UpdateAppIconDownloadProgress(
download::DownloadItem* download) {
}
#endif