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

Unified Diff: components/autofill/content/renderer/password_autofill_agent.h

Issue 1161023008: Suggest to fill password change forms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tiny fix Created 5 years, 6 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/content/renderer/password_autofill_agent.h
diff --git a/components/autofill/content/renderer/password_autofill_agent.h b/components/autofill/content/renderer/password_autofill_agent.h
index f0f3267f9871b666b171f1284bd6ad621d0a6867..f526900b1108a5d2c4e3185d86c0f559952a09b9 100644
--- a/components/autofill/content/renderer/password_autofill_agent.h
+++ b/components/autofill/content/renderer/password_autofill_agent.h
@@ -6,6 +6,7 @@
#define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_AUTOFILL_AGENT_H_
#include <map>
+#include <set>
Garrett Casto 2015/06/12 22:22:16 Unneeded.
dvadym 2015/06/15 09:34:59 Done.
#include <vector>
#include "base/gtest_prod_util.h"
@@ -108,6 +109,8 @@ class PasswordAutofillAgent : public content::RenderFrameObserver {
// The user manually edited the password more recently than the username was
// changed.
bool password_was_edited_last;
+ // The user edited the username field after page loading.
+ bool username_was_edited;
PasswordInfo();
};
typedef std::map<blink::WebInputElement, PasswordInfo> LoginToPasswordInfoMap;

Powered by Google App Engine
This is Rietveld 408576698