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

Unified Diff: components/payments/content/payment_response_helper_unittest.cc

Issue 2842463002: [Payments] Normalize billing address for response on Desktop. (Closed)
Patch Set: Addressed moe's comments 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: components/payments/content/payment_response_helper_unittest.cc
diff --git a/components/payments/content/payment_response_helper_unittest.cc b/components/payments/content/payment_response_helper_unittest.cc
index 658ffac56bcc6599ecae38fa4ed1e8687228bf87..e1c6f935b53b5b23037baf7287fc1d3a74e7d293 100644
--- a/components/payments/content/payment_response_helper_unittest.cc
+++ b/components/payments/content/payment_response_helper_unittest.cc
@@ -24,6 +24,8 @@
namespace payments {
+namespace {
+
class FakeAddressNormalizer : public AddressNormalizer {
public:
FakeAddressNormalizer() {}
@@ -53,6 +55,7 @@ class FakePaymentRequestDelegate : public PaymentRequestDelegate {
: personal_data_manager_(personal_data_manager),
locale_("en-US"),
last_committed_url_("https://shop.com") {}
+
void ShowDialog(PaymentRequest* request) override {}
void CloseDialog() override {}
@@ -95,6 +98,8 @@ class FakePaymentRequestDelegate : public PaymentRequestDelegate {
DISALLOW_COPY_AND_ASSIGN(FakePaymentRequestDelegate);
};
+} // namespace
+
class PaymentResponseHelperTest : public testing::Test,
public PaymentResponseHelper::Delegate {
protected:
« no previous file with comments | « components/payments/content/payment_response_helper.h ('k') | components/payments/core/autofill_payment_instrument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698