Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: components/autofill/core/common/save_password_progress_logger.cc

Issue 2739373002: Password generation logging (Closed)
Patch Set: compilation fix Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..8a55fdd2b36763d7a6296dde998c2e1c0b0b9a39 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";
+ 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.

Powered by Google App Engine
This is Rietveld 408576698