ContentSettingBubbleModel: Clean up url formating logic
This CL: 1. Extracts logic for displaying lists of URLs (used by popup and redirect blocking UIs). 2. Removes a failure-case from url_formatter::FormatUrlForSecurityDisplay. This API should handle all cases, and other UI code does not fall back to using the raw URL string if FormatUrlForSecurityDisplay returns an empty string. Bug: None Change-Id: I6f610cb41b8fba85a0952bd1aae2419c23c66586 Reviewed-on: https://chromium-review.googlesource.com/c/1334414 Commit-Queue: Charlie Harrison <csharrison@chromium.org> Reviewed-by:Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#608214}
Showing
Please register or sign in to comment