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

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: Get unit tests compiling. Created 6 years, 9 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 96f7eb27df315de12b8a11fa014a0ec83fa46e98..0ac05672cdf9a816ed4b2d98ef79c90e7e0a4a1c 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -641,32 +641,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) ||

Powered by Google App Engine
This is Rietveld 408576698