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

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

Issue 733953002: Do not save passwords if the landing page has HTTP status 5xx or 4xx (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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.h
diff --git a/components/autofill/core/common/save_password_progress_logger.h b/components/autofill/core/common/save_password_progress_logger.h
index 22d881333236bccc555f4008d6be191b743b22e0..4fd8e515100cb368a345c510118563da2bce355d 100644
--- a/components/autofill/core/common/save_password_progress_logger.h
+++ b/components/autofill/core/common/save_password_progress_logger.h
@@ -103,6 +103,8 @@ class SavePasswordProgressLogger {
STRING_PASSWORDMANAGER_AUTOFILL,
STRING_WAIT_FOR_USERNAME,
STRING_LOGINMODELOBSERVER_PRESENT,
+ STRING_WAS_LAST_NAVIGATION_HTTP_ERROR_METHOD,
+ STRING_HTTP_STATUS_CODE,
STRING_INVALID, // Represents a string returned in a case of an error.
STRING_MAX = STRING_INVALID
};

Powered by Google App Engine
This is Rietveld 408576698