|
|
Chromium Code Reviews|
Created:
4 years ago by please use gerrit instead Modified:
4 years ago Reviewers:
gone CC:
chromium-reviews, rouslan+payments_chromium.org, sebsg+paymentswatch_chromium.org, gogerald+paymentswatch_chromium.org, agrieve+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionShow additional display items when instruments change.
If the user selects a payment instrument that matches a modifier, then
the contents of the shopping cart should show the additional display
items from the modifier. For example, if the merchant provides
discounts for "visa", then selecting a "visa" type card should show the
"VISA discount $5.00" line item in the shopping cart.
This is accomplished by keeping track of the full modifier, instead of
just the total. This will also be useful in upcoming patch where the
modifier contents will be sent to the payment app.
This feature is behind chrome://flags#web-payments-modifiers flag.
This patch additionally removes the no longer used variable
"totalCurrency".
BUG=660926
Committed: https://crrev.com/a01e730142a80a46539e66684ed3dc8f8354fa5d
Cr-Commit-Position: refs/heads/master@{#437347}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Upper case C #Patch Set 3 : Reformat #Patch Set 4 : Reformat #2 #
Messages
Total messages: 26 (17 generated)
The CQ bit was checked by rouslan@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
Description was changed from ========== Show additional display items BUG=660926 ========== to ========== Show additional display items when instruments change. If the user selects a payment instrument that matches a modifier, then the contents of the shopping cart should show the additional display items from the modifier. For example, if the merchant provides discounts for "visa", then selecting a "visa" type card should show the "VISA discount $5.00" line item in the shopping cart. This is accomplished by keeping track of the full modifier, instead of just the total. This will be useful in upcoming patch where the modifier contents will be sent to the payment app. This feature is behind chrome://flags#web-payments-modifiers flag. This patch additionally removes the no longer used variable "totalCurrency". BUG=660926 ==========
Description was changed from ========== Show additional display items when instruments change. If the user selects a payment instrument that matches a modifier, then the contents of the shopping cart should show the additional display items from the modifier. For example, if the merchant provides discounts for "visa", then selecting a "visa" type card should show the "VISA discount $5.00" line item in the shopping cart. This is accomplished by keeping track of the full modifier, instead of just the total. This will be useful in upcoming patch where the modifier contents will be sent to the payment app. This feature is behind chrome://flags#web-payments-modifiers flag. This patch additionally removes the no longer used variable "totalCurrency". BUG=660926 ========== to ========== Show additional display items when instruments change. If the user selects a payment instrument that matches a modifier, then the contents of the shopping cart should show the additional display items from the modifier. For example, if the merchant provides discounts for "visa", then selecting a "visa" type card should show the "VISA discount $5.00" line item in the shopping cart. This is accomplished by keeping track of the full modifier, instead of just the total. This will be useful in upcoming patch where the modifier contents will be sent to the payment app. This feature is behind chrome://flags#web-payments-modifiers flag. This patch additionally removes the no longer used variable "totalCurrency". BUG=660926 ==========
Description was changed from ========== Show additional display items when instruments change. If the user selects a payment instrument that matches a modifier, then the contents of the shopping cart should show the additional display items from the modifier. For example, if the merchant provides discounts for "visa", then selecting a "visa" type card should show the "VISA discount $5.00" line item in the shopping cart. This is accomplished by keeping track of the full modifier, instead of just the total. This will be useful in upcoming patch where the modifier contents will be sent to the payment app. This feature is behind chrome://flags#web-payments-modifiers flag. This patch additionally removes the no longer used variable "totalCurrency". BUG=660926 ========== to ========== Show additional display items when instruments change. If the user selects a payment instrument that matches a modifier, then the contents of the shopping cart should show the additional display items from the modifier. For example, if the merchant provides discounts for "visa", then selecting a "visa" type card should show the "VISA discount $5.00" line item in the shopping cart. This is accomplished by keeping track of the full modifier, instead of just the total. This will also be useful in upcoming patch where the modifier contents will be sent to the payment app. This feature is behind chrome://flags#web-payments-modifiers flag. This patch additionally removes the no longer used variable "totalCurrency". BUG=660926 ==========
rouslan@chromium.org changed reviewers: + dfalcantara@chromium.org
Dan, ptal.
lgtm https://codereview.chromium.org/2549313002/diff/1/chrome/android/java/src/org... File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/ShoppingCart.java (right): https://codereview.chromium.org/2549313002/diff/1/chrome/android/java/src/org... chrome/android/java/src/org/chromium/chrome/browser/payments/ui/ShoppingCart.java:79: * @param additionalContents The additional shopping cart items. can be null. Can
https://codereview.chromium.org/2549313002/diff/1/chrome/android/java/src/org... File chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java (right): https://codereview.chromium.org/2549313002/diff/1/chrome/android/java/src/org... chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java:652: ? null git cl format? Did something funky here and a bunch of other places.
The CQ bit was checked by rouslan@chromium.org to run a CQ dry run
https://codereview.chromium.org/2549313002/diff/1/chrome/android/java/src/org... File chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java (right): https://codereview.chromium.org/2549313002/diff/1/chrome/android/java/src/org... chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java:652: ? null On 2016/12/08 19:41:14, dfalcantara (check my queue) wrote: > git cl format? Did something funky here and a bunch of other places. Yep. What do you do for formatting. Eclipse? https://codereview.chromium.org/2549313002/diff/1/chrome/android/java/src/org... File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/ShoppingCart.java (right): https://codereview.chromium.org/2549313002/diff/1/chrome/android/java/src/org... chrome/android/java/src/org/chromium/chrome/browser/payments/ui/ShoppingCart.java:79: * @param additionalContents The additional shopping cart items. can be null. On 2016/12/08 19:38:59, dfalcantara (check my queue) wrote: > Can Done.
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2549313002/diff/1/chrome/android/java/src/org... File chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java (right): https://codereview.chromium.org/2549313002/diff/1/chrome/android/java/src/org... chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java:652: ? null On 2016/12/08 19:45:11, rouslan wrote: > On 2016/12/08 19:41:14, dfalcantara (check my queue) wrote: > > git cl format? Did something funky here and a bunch of other places. > > Yep. What do you do for formatting. Eclipse? Combo of git cl format and manual eyeballing. Unfortunately git cl format makes some weird decisions sometimes, like indenting at 80 for java comments IIRC.
The CQ bit was checked by rouslan@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Ran PaymentRequestImpl.java through Eclipse for formatting. Should be better now.
The CQ bit was checked by rouslan@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from dfalcantara@chromium.org Link to the patchset: https://codereview.chromium.org/2549313002/#ps60001 (title: "Reformat #2")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 60001, "attempt_start_ts": 1481227317093660,
"parent_rev": "c0f45dda07f1ddbb2b792d4af841d9db9cddc0c1", "commit_rev":
"77b1106d0795de9583158efde2424751abe5f4f9"}
Message was sent while issue was closed.
Description was changed from ========== Show additional display items when instruments change. If the user selects a payment instrument that matches a modifier, then the contents of the shopping cart should show the additional display items from the modifier. For example, if the merchant provides discounts for "visa", then selecting a "visa" type card should show the "VISA discount $5.00" line item in the shopping cart. This is accomplished by keeping track of the full modifier, instead of just the total. This will also be useful in upcoming patch where the modifier contents will be sent to the payment app. This feature is behind chrome://flags#web-payments-modifiers flag. This patch additionally removes the no longer used variable "totalCurrency". BUG=660926 ========== to ========== Show additional display items when instruments change. If the user selects a payment instrument that matches a modifier, then the contents of the shopping cart should show the additional display items from the modifier. For example, if the merchant provides discounts for "visa", then selecting a "visa" type card should show the "VISA discount $5.00" line item in the shopping cart. This is accomplished by keeping track of the full modifier, instead of just the total. This will also be useful in upcoming patch where the modifier contents will be sent to the payment app. This feature is behind chrome://flags#web-payments-modifiers flag. This patch additionally removes the no longer used variable "totalCurrency". BUG=660926 ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== Show additional display items when instruments change. If the user selects a payment instrument that matches a modifier, then the contents of the shopping cart should show the additional display items from the modifier. For example, if the merchant provides discounts for "visa", then selecting a "visa" type card should show the "VISA discount $5.00" line item in the shopping cart. This is accomplished by keeping track of the full modifier, instead of just the total. This will also be useful in upcoming patch where the modifier contents will be sent to the payment app. This feature is behind chrome://flags#web-payments-modifiers flag. This patch additionally removes the no longer used variable "totalCurrency". BUG=660926 ========== to ========== Show additional display items when instruments change. If the user selects a payment instrument that matches a modifier, then the contents of the shopping cart should show the additional display items from the modifier. For example, if the merchant provides discounts for "visa", then selecting a "visa" type card should show the "VISA discount $5.00" line item in the shopping cart. This is accomplished by keeping track of the full modifier, instead of just the total. This will also be useful in upcoming patch where the modifier contents will be sent to the payment app. This feature is behind chrome://flags#web-payments-modifiers flag. This patch additionally removes the no longer used variable "totalCurrency". BUG=660926 Committed: https://crrev.com/a01e730142a80a46539e66684ed3dc8f8354fa5d Cr-Commit-Position: refs/heads/master@{#437347} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/a01e730142a80a46539e66684ed3dc8f8354fa5d Cr-Commit-Position: refs/heads/master@{#437347} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
