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

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

Issue 2779013002: Revert of PaymentRequest: Introduce PaymentDetailsInit and PaymentDetailsUpdate. (Closed)
Patch Set: Created 3 years, 9 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_request.cc
diff --git a/components/payments/content/payment_request.cc b/components/payments/content/payment_request.cc
index daeba9ab567a7a55c13e969306a9a274fbe219e9..f8d0b91c0f112219d871c4ded8c907607b03567c 100644
--- a/components/payments/content/payment_request.cc
+++ b/components/payments/content/payment_request.cc
@@ -43,11 +43,6 @@
std::string error;
if (!payments::validatePaymentDetails(details, &error)) {
LOG(ERROR) << error;
- OnConnectionTerminated();
- return;
- }
- if (!details->total) {
- LOG(ERROR) << "Missing total";
OnConnectionTerminated();
return;
}
« no previous file with comments | « components/payments/content/payment_details_validation.cc ('k') | components/payments/content/payment_request.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698