Chromium Code Reviews| Index: chrome/browser/autofill/password_generator.h |
| diff --git a/chrome/browser/autofill/password_generator.h b/chrome/browser/autofill/password_generator.h |
| index 0adbd435f43627877a26595ce8d54079e397a196..2c9bc5f281207a7935e795f6ef46eef644eaa27a 100644 |
| --- a/chrome/browser/autofill/password_generator.h |
| +++ b/chrome/browser/autofill/password_generator.h |
| @@ -22,8 +22,10 @@ class PasswordGenerator { |
| ~PasswordGenerator(); |
| // Returns a random password. The string is guaranteed to be printable and |
| - // will not include whitespace characters. |
| - std::string Generate(); |
| + // will not include whitespace characters. Furthermore, it has a maximum |
| + // length specified by the |max_length|, and contains AT LEAST one upper |
| + // case letter, one lower case letter, one digit, and one other symbol. |
| + std::string Generate(int max_length); |
|
Garrett Casto
2012/05/30 00:46:35
I was wondering if we might want to change the way
zysxqn
2012/05/31 21:54:08
I like the idea of passing a PasswordGenerator to
|
| private: |