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..7eac75b7c612888e81994db51feb5de0ca5f3416 100644 |
--- a/chrome/browser/browsing_data/downloads_counter.h |
+++ b/chrome/browser/browsing_data/downloads_counter.h |
@@ -5,19 +5,19 @@ |
#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; |
msramek
2016/06/27 12:46:18
nit: Empty line below this one.
ioanap
2016/06/27 14:50:43
Done.
|
// 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: |
+ Profile* profile_; |
msramek
2016/06/27 12:46:18
style nit: attributes under methods
This is alrea
ioanap
2016/06/27 14:50:43
Done.
|
+ |
// BrowsingDataRemover implementation. |
void Count() override; |