| Index: chrome/browser/browsing_data/browsing_data_remover.cc
|
| diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc
|
| index 71cd23a4353bfa4d183abee42d8e6e9af7ccc8e4..1f7254780b1047309180c65469df6d03ebb984fc 100644
|
| --- a/chrome/browser/browsing_data/browsing_data_remover.cc
|
| +++ b/chrome/browser/browsing_data/browsing_data_remover.cc
|
| @@ -273,11 +273,11 @@ void BrowsingDataRemover::RemoveImpl(int remove_mask,
|
| }
|
| // If this fires, we added a new BrowsingDataHelper::OriginSetMask without
|
| // updating the user metrics above.
|
| - COMPILE_ASSERT(
|
| + static_assert(
|
| BrowsingDataHelper::ALL == (BrowsingDataHelper::UNPROTECTED_WEB |
|
| BrowsingDataHelper::PROTECTED_WEB |
|
| BrowsingDataHelper::EXTENSION),
|
| - forgotten_to_add_origin_mask_type);
|
| + "OriginSetMask has been updated without updating user metrics");
|
|
|
| if ((remove_mask & REMOVE_HISTORY) && may_delete_history) {
|
| HistoryService* history_service = HistoryServiceFactory::GetForProfile(
|
|
|