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

Unified Diff: chrome/browser/browsing_data/cache_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/cache_counter_browsertest.cc
diff --git a/chrome/browser/browsing_data/cache_counter_browsertest.cc b/chrome/browser/browsing_data/cache_counter_browsertest.cc
index a70e67d8a32eab49d090ab260fa57c7648f4ce81..7cbf5660f5c8cb0b45a31c9f74a4276c4ef76584 100644
--- a/chrome/browser/browsing_data/cache_counter_browsertest.cc
+++ b/chrome/browser/browsing_data/cache_counter_browsertest.cc
@@ -183,6 +183,7 @@ IN_PROC_BROWSER_TEST_F(CacheCounterTest, Empty) {
CacheCounter counter(profile);
counter.Init(
profile->GetPrefs(),
+ browsing_data::ClearBrowsingDataPreferenceType::DEFAULT,
base::Bind(&CacheCounterTest::CountingCallback, base::Unretained(this)));
counter.Restart();
@@ -198,6 +199,7 @@ IN_PROC_BROWSER_TEST_F(CacheCounterTest, NonEmpty) {
CacheCounter counter(profile);
counter.Init(
profile->GetPrefs(),
+ browsing_data::ClearBrowsingDataPreferenceType::DEFAULT,
base::Bind(&CacheCounterTest::CountingCallback, base::Unretained(this)));
counter.Restart();
@@ -214,6 +216,7 @@ IN_PROC_BROWSER_TEST_F(CacheCounterTest, AfterDoom) {
CacheCounter counter(profile);
counter.Init(
profile->GetPrefs(),
+ browsing_data::ClearBrowsingDataPreferenceType::DEFAULT,
base::Bind(&CacheCounterTest::CountingCallback, base::Unretained(this)));
browsing_data::StoragePartitionHttpCacheDataRemover::CreateForRange(
@@ -236,6 +239,7 @@ IN_PROC_BROWSER_TEST_F(CacheCounterTest, PrefChanged) {
CacheCounter counter(profile);
counter.Init(
profile->GetPrefs(),
+ browsing_data::ClearBrowsingDataPreferenceType::DEFAULT,
base::Bind(&CacheCounterTest::CountingCallback, base::Unretained(this)));
SetCacheDeletionPref(true);
@@ -251,6 +255,7 @@ IN_PROC_BROWSER_TEST_F(CacheCounterTest, PeriodChanged) {
CacheCounter counter(profile);
counter.Init(
profile->GetPrefs(),
+ browsing_data::ClearBrowsingDataPreferenceType::DEFAULT,
base::Bind(&CacheCounterTest::CountingCallback, base::Unretained(this)));
SetDeletionPeriodPref(browsing_data::LAST_HOUR);

Powered by Google App Engine
This is Rietveld 408576698