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

Unified Diff: components/autofill/browser/autofill_manager.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 palmer 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_manager.cc
diff --git a/components/autofill/browser/autofill_manager.cc b/components/autofill/browser/autofill_manager.cc
index a8ebecd48a0bb578c2b2232aaf930fa28a91a2ee..f4550f559ce81adafa7e2b165876409b8718c095 100644
--- a/components/autofill/browser/autofill_manager.cc
+++ b/components/autofill/browser/autofill_manager.cc
@@ -754,9 +754,14 @@ void AutofillManager::OnAddPasswordFormMapping(
void AutofillManager::OnShowPasswordSuggestions(
const FormFieldData& field,
const gfx::RectF& bounds,
- const std::vector<base::string16>& suggestions) {
- if (external_delegate_)
- external_delegate_->OnShowPasswordSuggestions(suggestions, field, bounds);
+ const std::vector<base::string16>& suggestions,
+ const std::vector<base::string16>& realms) {
+ if (external_delegate_) {
+ external_delegate_->OnShowPasswordSuggestions(suggestions,
+ realms,
+ field,
+ bounds);
+ }
}
void AutofillManager::OnSetDataList(const std::vector<base::string16>& values,

Powered by Google App Engine
This is Rietveld 408576698