Index: chrome/browser/browsing_data/downloads_counter_browsertest.cc |
diff --git a/chrome/browser/browsing_data/downloads_counter_browsertest.cc b/chrome/browser/browsing_data/downloads_counter_browsertest.cc |
index ea865fbb9545889f9403da56ac8cccb971815d10..1deb0a6aaa5e22bf832148eff330430d4d218175 100644 |
--- a/chrome/browser/browsing_data/downloads_counter_browsertest.cc |
+++ b/chrome/browser/browsing_data/downloads_counter_browsertest.cc |
@@ -263,6 +263,7 @@ IN_PROC_BROWSER_TEST_F(DownloadsCounterTest, Count) { |
Profile* profile = browser()->profile(); |
DownloadsCounter counter(profile); |
counter.Init(profile->GetPrefs(), |
+ browsing_data::ClearBrowsingDataPreferenceType::DEFAULT, |
base::Bind(&DownloadsCounterTest::ResultCallback, |
base::Unretained(this))); |
counter.Restart(); |
@@ -292,6 +293,7 @@ IN_PROC_BROWSER_TEST_F(DownloadsCounterTest, Types) { |
Profile* profile = browser()->profile(); |
DownloadsCounter counter(profile); |
counter.Init(profile->GetPrefs(), |
+ browsing_data::ClearBrowsingDataPreferenceType::DEFAULT, |
base::Bind(&DownloadsCounterTest::ResultCallback, |
base::Unretained(this))); |
@@ -327,6 +329,7 @@ IN_PROC_BROWSER_TEST_F(DownloadsCounterTest, NotPersisted) { |
Profile* profile = browser()->profile(); |
DownloadsCounter counter(profile); |
counter.Init(profile->GetPrefs(), |
+ browsing_data::ClearBrowsingDataPreferenceType::DEFAULT, |
base::Bind(&DownloadsCounterTest::ResultCallback, |
base::Unretained(this))); |
@@ -376,6 +379,7 @@ IN_PROC_BROWSER_TEST_F(DownloadsCounterTest, TimeRanges) { |
Profile* profile = browser()->profile(); |
DownloadsCounter counter(profile); |
counter.Init(profile->GetPrefs(), |
+ browsing_data::ClearBrowsingDataPreferenceType::DEFAULT, |
base::Bind(&DownloadsCounterTest::ResultCallback, |
base::Unretained(this))); |