#ifndef CHROME_BROWSER_BROWSING_DATA_COUNTERS_DOWNLOADS_COUNTER_H_
#define CHROME_BROWSER_BROWSING_DATA_COUNTERS_DOWNLOADS_COUNTER_H_
#include "base/memory/raw_ptr.h"
#include "components/browsing_data/core/counters/browsing_data_counter.h"
class Profile;
class DownloadsCounter : public browsing_data::BrowsingDataCounter {
public:
explicit DownloadsCounter(Profile* profile);
DownloadsCounter(const DownloadsCounter&) = delete;
DownloadsCounter& operator=(const DownloadsCounter&) = delete;
~DownloadsCounter() override;
const char* GetPrefName() const override;
private:
void Count() override;
raw_ptr<Profile> profile_;
};
#endif