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

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

Issue 2254353002: Prompt for CVC in credit card assist. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better callback names Created 4 years, 4 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 4ee1303a6d7f7731016cb93ac3f378f710c59fc0..adca0fac3c806be5cdd0a2ecc0e8d185436068ed 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -992,15 +992,15 @@ void AutofillManager::OnDidUploadCard(
// TODO(jdonnelly): Log duration.
}
-void AutofillManager::OnFullCardDetails(const CreditCard& card,
- const base::string16& cvc) {
+void AutofillManager::OnFullCardRequestSucceeded(const CreditCard& card,
+ const base::string16& cvc) {
credit_card_form_event_logger_->OnDidFillSuggestion(masked_card_);
FillCreditCardForm(unmasking_query_id_, unmasking_form_, unmasking_field_,
card, cvc);
masked_card_ = CreditCard();
}
-void AutofillManager::OnFullCardError() {
+void AutofillManager::OnFullCardRequestFailed() {
driver_->RendererShouldClearPreviewedForm();
}
« no previous file with comments | « components/autofill/core/browser/autofill_manager.h ('k') | components/autofill/core/browser/payments/full_card_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698