diff options
author | zysxqn@google.com <zysxqn@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 19:30:10 +0000 |
---|---|---|
committer | zysxqn@google.com <zysxqn@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 19:30:10 +0000 |
commit | e0f90fcca53b72c5423405c939d6c30546e87ca4 (patch) | |
tree | f23454b75f76d65ea6254478c45d7c200d0746bd /chrome/renderer | |
parent | e3ad8173a2f7bca8400eeaa627929543216050a5 (diff) | |
download | chromium_src-e0f90fcca53b72c5423405c939d6c30546e87ca4.zip chromium_src-e0f90fcca53b72c5423405c939d6c30546e87ca4.tar.gz chromium_src-e0f90fcca53b72c5423405c939d6c30546e87ca4.tar.bz2 |
This CL does the following: (1) Pass the max_length attribute to the password generator; (2) Update the password generation algorithm to contain at least one upper case letter, one lower case letter, one digit, and one other symbol.
BUG=
TEST=PasswordGeneratorTest, AutofillManagerTest, PasswordGenerationManagerTest.
Review URL: https://chromiumcodereview.appspot.com/10458018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140812 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/autofill/password_generation_manager.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/renderer/autofill/password_generation_manager.cc b/chrome/renderer/autofill/password_generation_manager.cc index 6abe555..b853a08 100644 --- a/chrome/renderer/autofill/password_generation_manager.cc +++ b/chrome/renderer/autofill/password_generation_manager.cc @@ -112,6 +112,7 @@ void PasswordGenerationManager::handleClick(WebKit::WebInputElement& element) { if (password_form) { Send(new AutofillHostMsg_ShowPasswordGenerationPopup(routing_id(), rect, + element.maxLength(), *password_form)); } } |