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

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

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Abstracting the call to WebContents::OpenURL() throuh the AutofillDriver. Created 6 years, 1 month 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 8ce3a2948dfe570068b273210dd3e88583c3f34e..54eb162459385b154f121df50d8d01cb47b3aa2d 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -798,11 +798,10 @@ void AutofillManager::ImportFormData(const FormStructure& submitted_form) {
// save it.
if (imported_credit_card) {
client_->ConfirmSaveCreditCard(
- *metric_logger_,
+ *driver_, *metric_logger_,
base::Bind(
base::IgnoreResult(&PersonalDataManager::SaveImportedCreditCard),
- base::Unretained(personal_data_),
- *imported_credit_card));
+ base::Unretained(personal_data_), *imported_credit_card));
}
}

Powered by Google App Engine
This is Rietveld 408576698