Chromium Code Reviews| Index: components/autofill/core/common/save_password_progress_logger.cc |
| diff --git a/components/autofill/core/common/save_password_progress_logger.cc b/components/autofill/core/common/save_password_progress_logger.cc |
| index 73be9b49c248d28f046bad555a24ca100d152a42..3dddb27a89fb75e2f5b7c8937b57755df843e45c 100644 |
| --- a/components/autofill/core/common/save_password_progress_logger.cc |
| +++ b/components/autofill/core/common/save_password_progress_logger.cc |
| @@ -390,6 +390,39 @@ std::string SavePasswordProgressLogger::GetStringFromID( |
| return "Form votes"; |
| case SavePasswordProgressLogger::STRING_REUSE_FOUND: |
| return "Password reused from "; |
| + case SavePasswordProgressLogger::STRING_GENERATION_DISABLED_SAVING_DISABLED: |
| + return "Generation disabled: saving disabled"; |
| + case SavePasswordProgressLogger::STRING_GENERATION_DISABLED_NO_SYNC: |
| + return "Generation disabled: no sync"; |
| + case SavePasswordProgressLogger:: |
| + STRING_GENERATION_DISABLED_CUSTOM_PASSPHRASE: |
| + return "Generation disabled: custom passphrase"; |
| + case STRING_GENERATION_RENDERER_ENABLED: |
| + return "Generation renderer enabled"; |
| + case STRING_GENERATION_RENDERER_INVALID_PASSWORD_FORM: |
| + return "Generation invalid PasswordForm"; |
| + case STRING_GENERATION_RENDERER_POSSIBLE_ACCOUNT_CREATION_FORMS: |
| + return "Generation possible account creation forms"; |
| + case STRING_GENERATION_RENDERER_NO_PASSWORD_MANAGER_ACCESS: |
| + return "Generation: no PasswordManager access"; |
| + case STRING_GENERATION_RENDERER_FORM_ALREADY_FOUND: |
| + return "Generation: account creation form already found"; |
| + case STRING_GENERATION_RENDERER_NO_POSSIBLE_CREATION_FORMS: |
| + return "Generation: no possible account creation forms"; |
| + case STRING_GENERATION_RENDERER_NOT_BLACKLISTED: |
| + return "Generation: no non-blacklisted confirmation"; |
| + case STRING_GENERATION_RENDERER_AUTOCOMPLETE_ATTRIBUTE: |
| + return "Generation: autocomplete attributes found"; |
| + case STRING_GENERATION_RENDERER_NO_SERVER_SIGNAL: |
| + return "Generation: no server signal"; |
| + case STRING_GENERATION_RENDERER_ELIGIBLE_FORM_FOUND: |
| + return "Generation: eligible form found"; |
| + case STRING_GENERATION_RENDERER_NO_FIELD_FOUND: |
| + return "Generation: fields for generation are not found "; |
|
kolos1
2017/03/10 13:05:56
Remove trailing space.
dvadym
2017/03/10 13:35:24
Done.
|
| + case STRING_GENERATION_RENDERER_SHOW_GENERATION_POPUP: |
| + return "Show generation popup"; |
| + case STRING_GENERATION_RENDERER_GENERATED_PASSWORD_ACCEPTED: |
| + return "Generated password accepted"; |
| case SavePasswordProgressLogger::STRING_INVALID: |
| return "INVALID"; |
| // Intentionally no default: clause here -- all IDs need to get covered. |