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

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

Issue 2671743002: Separate state of basic and advanced tab in CBD dialog (Closed)
Patch Set: fix .classpath file Created 3 years, 10 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/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)));

Powered by Google App Engine
This is Rietveld 408576698