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

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: Rebased, moved password_form_fill_data_unittest.cc and fixed compile errors 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 94e2d299e483a093c6ad12923cb5ea1e7a5a6ae0..d2d9c177a737e7551772f9267f278df4b0874a6f 100644
--- a/components/autofill/browser/autofill_external_delegate.cc
+++ b/components/autofill/browser/autofill_external_delegate.cc
@@ -133,6 +133,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;
@@ -150,7 +151,7 @@ void AutofillExternalDelegate::OnShowPasswordSuggestions(
element_bounds_,
autofill_query_field_.text_direction,
suggestions,
- empty,
+ realms,
empty,
password_ids,
GetWeakPtr());

Powered by Google App Engine
This is Rietveld 408576698