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

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

Issue 184103016: Autofill: Refactoring to support fetching password after a username is selected (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 17ae4831fe58a5aec23fe2598aa329f18ea330f7..5966700b45127b02f71005336fc67cec2ea1b83c 100644
--- a/components/autofill/content/renderer/password_autofill_agent.h
+++ b/components/autofill/content/renderer/password_autofill_agent.h
@@ -41,7 +41,9 @@ 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.
bool DidAcceptAutofillSuggestion(const blink::WebNode& node,
- const blink::WebString& username);
+ 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.

Powered by Google App Engine
This is Rietveld 408576698