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

Unified Diff: components/autofill/core/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: Fixed test expectation to match intention and comment 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/core/browser/autofill_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index 4cbc8afa86a6ed88d1ba6e88b50af66b438d1c9c..a626b1962404ac666aa0454022e66b3271ce7c26 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -676,9 +676,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,
« no previous file with comments | « components/autofill/core/browser/autofill_manager.h ('k') | components/autofill/core/common/autofill_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698