summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data/browsing_data_remover.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browsing_data/browsing_data_remover.cc')
-rw-r--r--chrome/browser/browsing_data/browsing_data_remover.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc
index 71cd23a..1f72547 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(