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

Issue 2640743005: PaymentApp: Implement invokePaymentApp for Android (Closed)

Created:
3 years, 11 months ago by tommyt
Modified:
3 years, 11 months ago
CC:
chromium-reviews, rouslan+payments_chromium.org, sebsg+paymentswatch_chromium.org, gogerald+paymentswatch_chromium.org, agrieve+watch_chromium.org, jbudorick, Miguel Garcia
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PaymentApp: Implement invokePaymentApp for Android This change implements the ServiceWorkerPaymentAppBridge.invokePaymentApp() function along with the corresponding native InvokePaymentApp() function. The signature of PaymentInstrument.invokePaymentApp() has also been changed to add the payment details modifiers field, and to align the ordering and naming of the arguments with the definition of the PaymentAppRequest dictionary in the specification: https://w3c.github.io/webpayments-payment-apps-api/#sec-app-request BUG=669876 Review-Url: https://codereview.chromium.org/2640743005 Cr-Commit-Position: refs/heads/master@{#445301} Committed: https://chromium.googlesource.com/chromium/src/+/dfd9bf1edeca16610876ba4e33150401143b1924

Patch Set 1 #

Patch Set 2 : Fix unittest compilation #

Total comments: 30

Patch Set 3 : Address Rouslan's comments #

Patch Set 4 : Fix a compile error #

Messages

Total messages: 33 (23 generated)
tommyt
PTAL :)
3 years, 11 months ago (2017-01-19 12:53:13 UTC) #10
please use gerrit instead
https://codereview.chromium.org/2640743005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java File chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java (left): https://codereview.chromium.org/2640743005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java#oldcode628 chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java:628: if (mModifiers == null) mModifiers = new ArrayMap<>(); I ...
3 years, 11 months ago (2017-01-19 16:45:05 UTC) #11
tommyt
Adding miguelg for the file: chrome/browser/android/payments/service_worker_payment_app_bridge.cc https://codereview.chromium.org/2640743005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java File chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java (left): https://codereview.chromium.org/2640743005/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java#oldcode628 chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java:628: if (mModifiers == ...
3 years, 11 months ago (2017-01-20 09:33:30 UTC) #16
Miguel Garcia
Payments is being handled by the frontend team in MTV, moving this to Ted.
3 years, 11 months ago (2017-01-20 09:45:13 UTC) #18
Miguel Garcia
Payments is being handled by the frontend team in MTV, moving this to Ted.
3 years, 11 months ago (2017-01-20 09:45:15 UTC) #19
please use gerrit instead
lgtm
3 years, 11 months ago (2017-01-20 17:52:40 UTC) #26
Ted C
On 2017/01/20 17:52:40, rouslan wrote: > lgtm owners lgtm
3 years, 11 months ago (2017-01-20 18:10:31 UTC) #27
zino
lgtm
3 years, 11 months ago (2017-01-20 21:30:47 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2640743005/60001
3 years, 11 months ago (2017-01-22 08:31:45 UTC) #30
commit-bot: I haz the power
3 years, 11 months ago (2017-01-22 09:08:42 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/dfd9bf1edeca16610876ba4e3315...

Powered by Google App Engine
This is Rietveld 408576698