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

Unified Diff: ios/chrome/browser/payments/test_payment_request.mm

Issue 2924663003: [Payment Request] Moves PaymentRequestViewController to :payments_ui (Closed)
Patch Set: Addressed comments Created 3 years, 6 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 | « ios/chrome/browser/payments/test_payment_request.h ('k') | ios/chrome/browser/ui/payments/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/payments/test_payment_request.mm
diff --git a/ios/chrome/browser/payments/test_payment_request.mm b/ios/chrome/browser/payments/test_payment_request.mm
index 37f20d92feedd925c95e0c030cae8f73b7aca0b9..a2e1e49175a0c46598d8d06804054bcc5c9e5c04 100644
--- a/ios/chrome/browser/payments/test_payment_request.mm
+++ b/ios/chrome/browser/payments/test_payment_request.mm
@@ -12,6 +12,18 @@
#error "This file requires ARC support."
#endif
+void TestPaymentRequest::ClearShippingProfiles() {
+ shipping_profiles_.clear();
+}
+
+void TestPaymentRequest::ClearContactProfiles() {
+ contact_profiles_.clear();
+}
+
+void TestPaymentRequest::ClearCreditCards() {
+ credit_cards_.clear();
+}
+
autofill::RegionDataLoader* TestPaymentRequest::GetRegionDataLoader() {
return region_data_loader_;
}
« no previous file with comments | « ios/chrome/browser/payments/test_payment_request.h ('k') | ios/chrome/browser/ui/payments/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698