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..b2519297154aaf5cd8c02c0b35a925b6db312325 100644 |
--- a/chrome/browser/browsing_data/media_licenses_counter.cc |
+++ b/chrome/browser/browsing_data/media_licenses_counter.cc |
@@ -52,12 +52,16 @@ const std::string& MediaLicensesCounter::MediaLicenseResult::GetOneOrigin() |
} |
MediaLicensesCounter::MediaLicensesCounter(Profile* profile) |
- : BrowsingDataCounter(browsing_data::prefs::kDeleteMediaLicenses), |
+ : pref_name_(browsing_data::prefs::kDeleteMediaLicenses), |
profile_(profile), |
weak_ptr_factory_(this) {} |
MediaLicensesCounter::~MediaLicensesCounter() {} |
+const std::string& MediaLicensesCounter::GetPrefName() const { |
+ return pref_name_; |
+} |
+ |
void MediaLicensesCounter::Count() { |
DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
scoped_refptr<storage::FileSystemContext> filesystem_context = |