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

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

Issue 2965073002: [Payment Request] Moves PaymentRequest into the payments namespace (Closed)
Patch Set: rebase Created 3 years, 5 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: 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 21ac0939db2d5580faf776c27d10c755029113e8..953205763010a4c849bcb4a8d6b9d7cb8862d837 100644
--- a/ios/chrome/browser/payments/test_payment_request.mm
+++ b/ios/chrome/browser/payments/test_payment_request.mm
@@ -14,6 +14,8 @@
#error "This file requires ARC support."
#endif
+namespace payments {
+
void TestPaymentRequest::ClearShippingProfiles() {
shipping_profiles_.clear();
}
@@ -38,8 +40,10 @@ PrefService* TestPaymentRequest::GetPrefService() {
return PaymentRequest::GetPrefService();
}
-payments::PaymentsProfileComparator* TestPaymentRequest::profile_comparator() {
+PaymentsProfileComparator* TestPaymentRequest::profile_comparator() {
if (profile_comparator_)
return profile_comparator_;
return PaymentRequest::profile_comparator();
}
+
+} // namespace payments
« no previous file with comments | « ios/chrome/browser/payments/test_payment_request.h ('k') | ios/chrome/browser/ui/payments/address_edit_coordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698