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

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

Issue 79103002: Abstracted AcceptPasswordAutofillSuggestion IPC out of core Autofill code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review fixes. Created 7 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/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 c426f0543b165bc37bb0f5608e3c5a75b5c362c7..503621bfda784a66f10f0c755a7f1af015e40b47 100644
--- a/components/autofill/content/renderer/password_autofill_agent.h
+++ b/components/autofill/content/renderer/password_autofill_agent.h
@@ -38,10 +38,10 @@ class PasswordAutofillAgent : public content::RenderViewObserver {
bool TextFieldHandlingKeyDown(const blink::WebInputElement& element,
const blink::WebKeyboardEvent& event);
- // Fills the password associated with user name |value|. Returns true if the
- // username and password fields were filled, false otherwise.
+ // 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& value);
+ const blink::WebString& username);
// 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