Move IDS_PASSWORD_MANAGER_EMPTY_LOGIN to component resources
commit83785a165bdc1ee1c2c9809f1207a96b123e560b
authorvabr <vabr@chromium.org>
Tue, 16 Dec 2014 19:31:08 +0000 (16 11:31 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 16 Dec 2014 19:31:29 +0000 (16 19:31 +0000)
tree3398d0014bd2fd032a8748211712b73126c43030
parentd4b08f2d8e5fb45479018328c3c1e3f6be182f8f
Move IDS_PASSWORD_MANAGER_EMPTY_LOGIN to component resources

The string "(No username)" is currently used in the password manager bubble, but became useful also for password-field suggestions introduced by https://codereview.chromium.org/773573004/.

This CL ensures, that when a user gets a suggestions pop-up in a password field, and has an empty username saved with a password, the suggestion explicitly mentions the username is missing, instead of displaying a blank suggestion. This is consistent with the bubble.

As a side-effect, the corresponding string is moved from chrome to components resources.

BUG=442191,410963
R=vasilii@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#308635}
build/ios/grit_whitelist.txt
chrome/app/generated_resources.grd
chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.mm
chrome/browser/ui/views/passwords/manage_password_items_view.cc
components/components_strings.grd
components/password_manager.gypi
components/password_manager/core/browser/DEPS
components/password_manager/core/browser/password_autofill_manager.cc
components/password_manager_strings.grdp [new file with mode: 0644]