Chromium Code Reviews| 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; |