| Index: chrome/browser/browsing_data/downloads_counter.h
|
| diff --git a/chrome/browser/browsing_data/downloads_counter.h b/chrome/browser/browsing_data/downloads_counter.h
|
| index 192fddc61e88aec73135ca227f1e98db4cf99dd5..68a642f58a306d14f8958e1dc873b46cd3316b1e 100644
|
| --- a/chrome/browser/browsing_data/downloads_counter.h
|
| +++ b/chrome/browser/browsing_data/downloads_counter.h
|
| @@ -5,24 +5,25 @@
|
| #ifndef CHROME_BROWSER_BROWSING_DATA_DOWNLOADS_COUNTER_H_
|
| #define CHROME_BROWSER_BROWSING_DATA_DOWNLOADS_COUNTER_H_
|
|
|
| -#include "chrome/browser/browsing_data/browsing_data_counter.h"
|
| +#include "components/browsing_data/counters/browsing_data_counter.h"
|
| +
|
| +class Profile;
|
|
|
| // A BrowsingDataCounter that counts the number of downloads as seen on the
|
| // chrome://downloads page.
|
| -class DownloadsCounter: public BrowsingDataCounter {
|
| +class DownloadsCounter : public browsing_data::BrowsingDataCounter {
|
| public:
|
| - DownloadsCounter();
|
| + explicit DownloadsCounter(Profile* profile);
|
| ~DownloadsCounter() override;
|
|
|
| - // BrowsingDataRemover implementation.
|
| - const std::string& GetPrefName() const override;
|
| -
|
| private:
|
| // BrowsingDataRemover implementation.
|
| void Count() override;
|
|
|
| const std::string pref_name_;
|
|
|
| + Profile* profile_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(DownloadsCounter);
|
| };
|
|
|
|
|