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

Unified Diff: components/payments/payment_request.h

Issue 2711873003: [Web Payments] Re-add extra view in the footer. (Closed)
Patch Set: Change CreateExtraView to CreateExtraFooterView 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
Index: components/payments/payment_request.h
diff --git a/components/payments/payment_request.h b/components/payments/payment_request.h
index fcb582039e85498b395f58ad6b1738065dbdda6c..0207c6b1b705398b3bc83964b2227d12ac3ff805 100644
--- a/components/payments/payment_request.h
+++ b/components/payments/payment_request.h
@@ -91,7 +91,9 @@ class PaymentRequest : payments::mojom::PaymentRequest {
selected_contact_profile_ = profile;
}
- const std::vector<autofill::CreditCard*>& credit_cards();
+ const std::vector<autofill::CreditCard*>& credit_cards() {
+ return credit_cards_;
+ }
// Returns the currently selected credit card for this PaymentRequest flow.
// It's not guaranteed to be complete. Returns nullptr if there is no selected
« no previous file with comments | « chrome/browser/ui/views/payments/payment_request_sheet_controller.cc ('k') | components/payments/payment_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698