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

Unified Diff: components/autofill/core/browser/autofill_manager.cc

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: Actually fix compile failure. Created 6 years, 8 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 95126de421d1ca79cdc115bb0cad82cb4401f1e1..09acb8b690e2c6bb262d3006bfdbf37a48811e2b 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -650,32 +650,6 @@ void AutofillManager::SetTestDelegate(
test_delegate_ = delegate;
}
-void AutofillManager::OnAddPasswordFormMapping(
- const FormFieldData& username_field,
- const PasswordFormFillData& fill_data) {
- if (!IsValidFormFieldData(username_field) ||
- !IsValidPasswordFormFillData(fill_data))
- return;
-
- external_delegate_->AddPasswordFormMapping(username_field, fill_data);
-}
-
-void AutofillManager::OnShowPasswordSuggestions(
- const FormFieldData& field,
- const gfx::RectF& bounds,
- const std::vector<base::string16>& suggestions,
- const std::vector<base::string16>& realms) {
- if (!IsValidString16Vector(suggestions) ||
- !IsValidString16Vector(realms) ||
- suggestions.size() != realms.size())
- return;
-
- external_delegate_->OnShowPasswordSuggestions(suggestions,
- realms,
- field,
- bounds);
-}
-
void AutofillManager::OnSetDataList(const std::vector<base::string16>& values,
const std::vector<base::string16>& labels) {
if (!IsValidString16Vector(values) ||
« no previous file with comments | « components/autofill/core/browser/autofill_manager.h ('k') | components/autofill/core/browser/password_autofill_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698