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

Unified Diff: chrome/browser/browsing_data/media_licenses_counter.cc

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
Index: chrome/browser/browsing_data/media_licenses_counter.cc
diff --git a/chrome/browser/browsing_data/media_licenses_counter.cc b/chrome/browser/browsing_data/media_licenses_counter.cc
index 89236b826d04314ac69ab99c822377592d9897ec..a7802bdc6d6d5037d43257fe9929cf8c9e65a780 100644
--- a/chrome/browser/browsing_data/media_licenses_counter.cc
+++ b/chrome/browser/browsing_data/media_licenses_counter.cc
@@ -52,12 +52,15 @@ const std::string& MediaLicensesCounter::MediaLicenseResult::GetOneOrigin()
}
MediaLicensesCounter::MediaLicensesCounter(Profile* profile)
- : BrowsingDataCounter(browsing_data::prefs::kDeleteMediaLicenses),
- profile_(profile),
+ : profile_(profile),
weak_ptr_factory_(this) {}
MediaLicensesCounter::~MediaLicensesCounter() {}
+const char* MediaLicensesCounter::GetPrefName() const {
+ return browsing_data::prefs::kDeleteMediaLicenses;
+}
+
void MediaLicensesCounter::Count() {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
scoped_refptr<storage::FileSystemContext> filesystem_context =
« no previous file with comments | « chrome/browser/browsing_data/media_licenses_counter.h ('k') | chrome/browser/browsing_data/passwords_counter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698