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

Unified Diff: components/autofill/browser/autofill_external_delegate.cc

Issue 15660018: [autofill] Add support for PSL domain matching for password autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments from isherman and aurimas Created 7 years, 6 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/browser/autofill_external_delegate.cc
diff --git a/components/autofill/browser/autofill_external_delegate.cc b/components/autofill/browser/autofill_external_delegate.cc
index c262f5043bb2e2cf1c87e76b375b41ee0c43e4c3..e3d7d6406acb46232eafbf424d148d4aec3e2cea 100644
--- a/components/autofill/browser/autofill_external_delegate.cc
+++ b/components/autofill/browser/autofill_external_delegate.cc
@@ -140,6 +140,7 @@ void AutofillExternalDelegate::OnSuggestionsReturned(
void AutofillExternalDelegate::OnShowPasswordSuggestions(
const std::vector<base::string16>& suggestions,
+ const std::vector<base::string16>& realms,
const FormFieldData& field,
const gfx::RectF& element_bounds) {
autofill_query_field_ = field;
@@ -154,7 +155,7 @@ void AutofillExternalDelegate::OnShowPasswordSuggestions(
std::vector<int> password_ids(suggestions.size(),
WebAutofillClient::MenuItemIDPasswordEntry);
autofill_manager_->delegate()->ShowAutofillPopup(
- element_bounds_, suggestions, empty, empty, password_ids, GetWeakPtr());
+ element_bounds_, suggestions, realms, empty, password_ids, GetWeakPtr());
}
void AutofillExternalDelegate::SetCurrentDataListValues(

Powered by Google App Engine
This is Rietveld 408576698