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

Unified Diff: components/payments/content/payment_request_state.cc

Issue 2779283002: [Web Payments] Implement the CVC Unmask dialog. (Closed)
Patch Set: Created 3 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/payments/content/payment_request_state.cc
diff --git a/components/payments/content/payment_request_state.cc b/components/payments/content/payment_request_state.cc
index 47fe27f1539d65424b442caf421c0ae5f2ff5ab0..f5be520b04530c7b6112982e0f64ce4d291e8af3 100644
--- a/components/payments/content/payment_request_state.cc
+++ b/components/payments/content/payment_request_state.cc
@@ -10,6 +10,7 @@
#include "components/autofill/core/browser/autofill_profile.h"
#include "components/autofill/core/browser/credit_card.h"
#include "components/autofill/core/browser/personal_data_manager.h"
+#include "components/payments/content/payment_request_delegate.h"
#include "components/payments/content/payment_request_spec.h"
#include "components/payments/core/autofill_payment_instrument.h"
@@ -147,7 +148,8 @@ void PaymentRequestState::PopulateProfileCache() {
// indirectly owned by this object.
std::unique_ptr<PaymentInstrument> instrument =
base::MakeUnique<AutofillPaymentInstrument>(
- basic_card_network, *card, shipping_profiles_, app_locale_);
+ basic_card_network, *card, shipping_profiles_, app_locale_,
+ delegate_->GetPaymentRequestDelegate());
available_instruments_.push_back(std::move(instrument));
}
}

Powered by Google App Engine
This is Rietveld 408576698