Adds method to PasswordStore which return origin in human readable form.
commit56733523e9d9cfd0b03d1918f0dcaddd015440c0
authormelandory <melandory@chromium.org>
Tue, 13 Jan 2015 14:49:20 +0000 (13 06:49 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 13 Jan 2015 14:50:10 +0000 (13 14:50 +0000)
tree9da1b6c00981671efcc23f867f7b3f656c0d6b4d
parent56a8804fce1b48fbf0e02e8ba40536563c3ad349
Adds method to PasswordStore which return origin in human readable form.

This is needed for Android URL representation. Currently, Android URL's have following form
android://m3HSJL1i83hdltRq0-o9czGb-8KJDKra4t_3JRlnPKcjI8PZm6XBHXx6zG4UuMXaDEZjR1wuXDre9G9zvN7AQw==@com.example.android
This looks bad on chrome://settings/passwords, so we need to put infrastructure in place which allows us to show
android://com.example.android instead.

BUG=437865
R=estade@chromium.org,engedy@chromium.org,mkwst@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#311269}
chrome/browser/ui/passwords/manage_passwords_view_utils.cc [new file with mode: 0644]
chrome/browser/ui/passwords/manage_passwords_view_utils.h [new file with mode: 0644]
chrome/browser/ui/passwords/manage_passwords_view_utils_unittest.cc [new file with mode: 0644]
chrome/browser/ui/webui/options/password_manager_handler.cc
chrome/chrome_browser_ui.gypi
chrome/chrome_tests_unit.gypi