Index: components/browsing_data_ui/history_notice_utils.cc |
diff --git a/components/browsing_data_ui/history_notice_utils.cc b/components/browsing_data_ui/history_notice_utils.cc |
index a467c669836f0364030068de7c2c8c3af6e8642a..7a6fa132e72adfc1a6ce8f16f677a986d5ce9a28 100644 |
--- a/components/browsing_data_ui/history_notice_utils.cc |
+++ b/components/browsing_data_ui/history_notice_utils.cc |
@@ -13,7 +13,8 @@ bool ShouldShowNoticeAboutOtherFormsOfBrowsingHistory( |
const ProfileSyncService* sync_service, |
const history::WebHistoryService* history_service) { |
return sync_service && |
- sync_service->IsUsingSecondaryPassphrase() && |
+ sync_service->IsSyncActive() && |
+ !sync_service->IsUsingSecondaryPassphrase() && |
history_service && |
history_service->HasOtherFormsOfBrowsingHistory(); |
} |