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 17ae4831fe58a5aec23fe2598aa329f18ea330f7..c16bc7a1089aa516a021c64aee20c2f24a3ac751 100644 |
--- a/components/autofill/content/renderer/password_autofill_agent.h |
+++ b/components/autofill/content/renderer/password_autofill_agent.h |
@@ -40,8 +40,10 @@ class PasswordAutofillAgent : public content::RenderViewObserver { |
// Fills the password associated with user name |username|. Returns true if |
// the username and password fields were filled, false otherwise. |
Ilya Sherman
2014/03/18 00:14:27
nit: Please update this comment.
Patrick Dubroy
2014/03/28 15:44:22
Done.
|
- bool DidAcceptAutofillSuggestion(const blink::WebNode& node, |
- const blink::WebString& username); |
+ bool AcceptAutofillSuggestionWithPassword(const blink::WebNode& node, |
Ilya Sherman
2014/03/18 00:14:27
Optional nit: I'd shorten this name to just "Accep
Patrick Dubroy
2014/03/28 15:44:22
I shortened to just AcceptAutofillSuggestion, if t
Ilya Sherman
2014/03/28 21:33:34
Since this class is the password *autofill* agent,
Patrick Dubroy
2014/04/01 16:08:48
Ok, I agree. Changed. (In fairness, Vaclav didn't
|
+ const blink::WebString& username, |
+ const blink::WebString& password); |
+ |
// A no-op. Password forms are not previewed, so they do not need to be |
// cleared when the selection changes. However, this method returns |
// true when |node| is fillable by password Autofill. |