Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3801)

Unified Diff: chrome/browser/browsing_data/downloads_counter.h

Issue 2153863002: Move counters for passwords, history and autofill to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@separate_build_targets_in_components_bd
Patch Set: Addressed comments Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browsing_data/cache_counter.cc ('k') | chrome/browser/browsing_data/downloads_counter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 29217f16b33b83ae7beff67492a0c7af64ca37f5..f3bd7627d21325bdf74dad8caff0fcc0ecef660b 100644
--- a/chrome/browser/browsing_data/downloads_counter.h
+++ b/chrome/browser/browsing_data/downloads_counter.h
@@ -16,12 +16,12 @@ class DownloadsCounter : public browsing_data::BrowsingDataCounter {
explicit DownloadsCounter(Profile* profile);
~DownloadsCounter() override;
+ const char* GetPrefName() const override;
+
private:
// BrowsingDataRemover implementation.
void Count() override;
- const std::string pref_name_;
-
Profile* profile_;
DISALLOW_COPY_AND_ASSIGN(DownloadsCounter);
« no previous file with comments | « chrome/browser/browsing_data/cache_counter.cc ('k') | chrome/browser/browsing_data/downloads_counter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698