Create FormatUrlForSecurityDisplay helper function.
commitd72cc48699ed600c26911b0061f44aa9cfc39e62
authorpalmer <palmer@chromium.org>
Wed, 3 Jun 2015 23:50:43 +0000 (3 16:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Jun 2015 23:51:15 +0000 (3 23:51 +0000)
tree8de3e4fcc2b0b1d08b3174c3f3e13ff2471fe96a
parent44417446b0c1a0081d4fe45bef0cd840e046fc83
Create FormatUrlForSecurityDisplay helper function.

FormatUrlForSecurityDisplay provides a canonical, concise, human-friendly
display for origins.

Based heavily on earlier work by dewittj and felt. Thanks!

BUG=402698

Review URL: https://codereview.chromium.org/1147363005

Cr-Commit-Position: refs/heads/master@{#332736}
chrome/browser/ui/content_settings/content_setting_bubble_model.cc
chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc
chrome/browser/ui/elide_url.cc
chrome/browser/ui/elide_url.h
chrome/browser/ui/elide_url_unittest.cc