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

Unified Diff: components/payments/payment_request.h

Issue 2711973002: [Web Payments] Implement the credit card selection UI functionality. (Closed)
Patch Set: Fix test flakiness. Created 3 years, 10 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/payment_request.h
diff --git a/components/payments/payment_request.h b/components/payments/payment_request.h
index 0207c6b1b705398b3bc83964b2227d12ac3ff805..551d8ffec00d98c8a43cdf033bf513b6ecda1b24 100644
--- a/components/payments/payment_request.h
+++ b/components/payments/payment_request.h
@@ -100,6 +100,10 @@ class PaymentRequest : payments::mojom::PaymentRequest {
// card.
autofill::CreditCard* selected_credit_card() { return selected_credit_card_; }
+ void set_selected_credit_card(autofill::CreditCard* credit_card) {
+ selected_credit_card_ = credit_card;
+ }
+
autofill::PersonalDataManager* personal_data_manager() {
return delegate_->GetPersonalDataManager();
}
« no previous file with comments | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698