| 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);
|
|
|