#include "chrome/browser/browsing_data/counters/downloads_counter.h"
#include "base/memory/raw_ptr.h"
#include "base/ranges/algorithm.h"
#include "chrome/browser/download/download_history.h"
#include "chrome/browser/profiles/profile.h"
#include "components/browsing_data/core/pref_names.h"
#include "content/public/browser/download_manager.h"
DownloadsCounter::DownloadsCounter(Profile* profile)
: … { … }
DownloadsCounter::~DownloadsCounter() { … }
const char* DownloadsCounter::GetPrefName() const { … }
void DownloadsCounter::Count() { … }