| Index: ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_controller_unittest.mm
|
| diff --git a/ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_controller_unittest.mm b/ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_controller_unittest.mm
|
| index f2deed453e6f2d9bbbb14279900b6128694bb84f..a4a3f94df2d5c0162020340241646416da9f6c14 100644
|
| --- a/ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_controller_unittest.mm
|
| +++ b/ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_controller_unittest.mm
|
| @@ -234,7 +234,7 @@ TEST_F(ClearBrowsingDataCollectionViewControllerTest,
|
| ASSERT_EQ("en", GetApplicationContext()->GetApplicationLocale());
|
| PrefService* prefs = browser_state_->GetPrefs();
|
| prefs->SetInteger(browsing_data::prefs::kDeleteTimePeriod,
|
| - browsing_data::ALL_TIME);
|
| + static_cast<int>(browsing_data::TimePeriod::ALL_TIME));
|
| CacheCounter counter(browser_state_.get());
|
|
|
| // Test multiple possible types of formatting.
|
| @@ -274,7 +274,7 @@ TEST_F(ClearBrowsingDataCollectionViewControllerTest,
|
| }
|
| PrefService* prefs = browser_state_->GetPrefs();
|
| prefs->SetInteger(browsing_data::prefs::kDeleteTimePeriod,
|
| - browsing_data::LAST_HOUR);
|
| + static_cast<int>(browsing_data::TimePeriod::LAST_HOUR));
|
| CacheCounter counter(browser_state_.get());
|
|
|
| // Test multiple possible types of formatting.
|
|
|