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

Unified Diff: components/payments/android/payments_jni_registrar.cc

Issue 2489943003: Revert of [Web Payments] Mojom namespace blink -> payments (Closed)
Patch Set: Created 4 years, 1 month 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 | « chrome/browser/chrome_content_browser_client.cc ('k') | components/payments/payment_details_validation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/android/payments_jni_registrar.cc
diff --git a/components/payments/android/payments_jni_registrar.cc b/components/payments/android/payments_jni_registrar.cc
index 974ce895011180604febd8121a5f126a7ebb1504..37bf6024a8103e961ca9a3f4496769f2747734f6 100644
--- a/components/payments/android/payments_jni_registrar.cc
+++ b/components/payments/android/payments_jni_registrar.cc
@@ -21,8 +21,9 @@
jlong buf_size = env->GetDirectBufferCapacity(buffer);
mojo::Array<uint8_t> mojo_buffer = mojo::Array<uint8_t>::New(buf_size);
memcpy(&mojo_buffer[0], buf_in, buf_size);
- mojom::PaymentDetailsPtr details;
- if (!mojom::PaymentDetails::Deserialize(std::move(mojo_buffer), &details))
+ blink::mojom::PaymentDetailsPtr details;
+ if (!blink::mojom::PaymentDetails::Deserialize(std::move(mojo_buffer),
+ &details))
return false;
std::string unused_error_message;
return payments::validatePaymentDetails(details, &unused_error_message);
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | components/payments/payment_details_validation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698