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

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

Issue 2797633002: [Payments] Move PaymentMethodData to components/payments/core (Closed)
Patch Set: clean Created 3 years, 8 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/payment_request_unittest.mm
diff --git a/ios/chrome/browser/payments/payment_request_unittest.mm b/ios/chrome/browser/payments/payment_request_unittest.mm
index 094bf602df5befff67224af21fc73f148ed9e482..b904821118b03ea1e4f059fa4b3729e0f3a132e8 100644
--- a/ios/chrome/browser/payments/payment_request_unittest.mm
+++ b/ios/chrome/browser/payments/payment_request_unittest.mm
@@ -8,6 +8,7 @@
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/test_personal_data_manager.h"
#include "components/payments/core/currency_formatter.h"
+#include "components/payments/core/payment_method_data.h"
#include "ios/chrome/browser/application_context.h"
#include "ios/web/public/payments/payment_request.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -51,10 +52,10 @@ TEST(PaymentRequestTest, AcceptedPaymentNetworks) {
web::PaymentRequest web_payment_request;
autofill::TestPersonalDataManager personal_data_manager;
- web::PaymentMethodData method_datum1;
+ payments::PaymentMethodData method_datum1;
method_datum1.supported_methods.push_back(base::ASCIIToUTF16("visa"));
web_payment_request.method_data.push_back(method_datum1);
- web::PaymentMethodData method_datum2;
+ payments::PaymentMethodData method_datum2;
method_datum2.supported_methods.push_back(base::ASCIIToUTF16("mastercard"));
web_payment_request.method_data.push_back(method_datum2);
« no previous file with comments | « ios/chrome/browser/payments/payment_request_test_util.mm ('k') | ios/chrome/browser/payments/payment_request_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698