| Index: ios/chrome/browser/browsing_data/cache_counter_unittest.cc
|
| diff --git a/ios/chrome/browser/browsing_data/cache_counter_unittest.cc b/ios/chrome/browser/browsing_data/cache_counter_unittest.cc
|
| index e3e8e6a50ee360739f1da5899504550b5441cd3f..bf6b87ccda2d63d258525e1eb458ea9fb567ebf1 100644
|
| --- a/ios/chrome/browser/browsing_data/cache_counter_unittest.cc
|
| +++ b/ios/chrome/browser/browsing_data/cache_counter_unittest.cc
|
| @@ -279,18 +279,6 @@ TEST_F(CacheCounterTest, PrefChanged) {
|
| EXPECT_EQ(0u, GetResult());
|
| }
|
|
|
| -// Tests that the counter does not count if the deletion preference is false.
|
| -TEST_F(CacheCounterTest, PrefIsFalse) {
|
| - SetCacheDeletionPref(false);
|
| -
|
| - CacheCounter counter(browser_state());
|
| - counter.Init(prefs(), base::Bind(&CacheCounterTest::CountingCallback,
|
| - base::Unretained(this)));
|
| - counter.Restart();
|
| -
|
| - EXPECT_FALSE(counter.pending());
|
| -}
|
| -
|
| // Tests that the counting is restarted when the time period changes. Currently,
|
| // the results should be the same for every period. This is because the counter
|
| // always counts the size of the entire cache, and it is up to the UI
|
|
|