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

Unified Diff: components/autofill/core/browser/autofill_driver.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: Address gcasto's comments. 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/core/browser/autofill_driver.h
diff --git a/components/autofill/core/browser/autofill_driver.h b/components/autofill/core/browser/autofill_driver.h
index 933ef689b3f80fd0a5d7d523416c76f6a73155a1..48529243d05e5fbff9854fb77ee5a26d8814d5e7 100644
--- a/components/autofill/core/browser/autofill_driver.h
+++ b/components/autofill/core/browser/autofill_driver.h
@@ -71,9 +71,10 @@ class AutofillDriver {
const base::string16& value) = 0;
// Tells the renderer to accept the password autofill suggestion for
- // |username|.
+ // |username| and fill the password with |password|.
virtual void RendererShouldAcceptPasswordAutofillSuggestion(
- const base::string16& username) = 0;
+ const base::string16& username,
+ const base::string16& password) = 0;
// Tells the renderer to clear the currently filled Autofill results.
virtual void RendererShouldClearFilledForm() = 0;

Powered by Google App Engine
This is Rietveld 408576698