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

Issue 2054823002: PaymentRequest: complete() method should take PaymentComplete enum value. (Closed)

Created:
4 years, 6 months ago by zino
Modified:
4 years, 6 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, Aaron Boodman, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, dglazkov+blink, blink-reviews, darin (slow to review), ben+mojo_chromium.org, blink-reviews-api_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PaymentRequest: complete() method should take PaymentComplete enum value. Related spec links [1] https://w3c.github.io/browser-payment-api/#idl-def-paymentcomplete [2] https://github.com/w3c/browser-payment-api/pull/161 BUG=617191 Committed: https://crrev.com/5368cdb012e5b9e64f18d9b5bdd914694a6aef94 Cr-Commit-Position: refs/heads/master@{#400410}

Patch Set 1 #

Patch Set 2 #

Total comments: 8

Patch Set 3 #

Patch Set 4 #

Total comments: 5

Patch Set 5 : why did I do that? #

Total comments: 4

Patch Set 6 #

Patch Set 7 : fix the comments #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -35 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java View 1 2 3 4 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java View 1 2 3 4 5 6 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentResultUIManager.java View 1 2 3 4 5 6 1 chunk +8 lines, -5 lines 0 comments Download
M chrome/test/data/android/payments/dynamic_shipping.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/android/payments/free_shipping.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/android/payments/no_shipping.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/payments/promises-keep-request-alive.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentCompleter.h View 1 2 3 4 5 1 chunk +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequest.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequest.cpp View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp View 1 2 3 4 5 6 7 4 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentResponse.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentResponse.cpp View 1 2 3 4 5 6 7 1 chunk +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentResponse.idl View 1 2 3 4 5 6 7 2 chunks +9 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentResponseTest.cpp View 1 2 3 4 5 6 7 3 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/public/platform/modules/payments/payment_request.mojom View 1 2 3 4 5 6 7 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 41 (20 generated)
zino
Please take a look. Thank you!
4 years, 6 months ago (2016-06-10 18:53:19 UTC) #8
please use gerrit instead
+haraken@: Does IDL generator provide no help in generating an enum? It seems suboptimal to ...
4 years, 6 months ago (2016-06-10 19:15:35 UTC) #10
haraken
On 2016/06/10 19:15:35, Rouslan (ツ) wrote: > +haraken@: Does IDL generator provide no help in ...
4 years, 6 months ago (2016-06-13 01:37:20 UTC) #11
please use gerrit instead
On 2016/06/13 01:37:20, haraken wrote: > On 2016/06/10 19:15:35, Rouslan (ツ) wrote: > > +haraken@: ...
4 years, 6 months ago (2016-06-13 15:26:34 UTC) #12
please use gerrit instead
https://codereview.chromium.org/2054823002/diff/100001/third_party/WebKit/Source/modules/payments/PaymentCompleter.h File third_party/WebKit/Source/modules/payments/PaymentCompleter.h (right): https://codereview.chromium.org/2054823002/diff/100001/third_party/WebKit/Source/modules/payments/PaymentCompleter.h#newcode14 third_party/WebKit/Source/modules/payments/PaymentCompleter.h:14: enum PaymentComplete { On 2016/06/10 19:15:35, Rouslan (ツ) wrote: ...
4 years, 6 months ago (2016-06-13 15:28:11 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2054823002/180001
4 years, 6 months ago (2016-06-15 23:07:05 UTC) #15
zino
I've just uploaded a new patch set. PTAL
4 years, 6 months ago (2016-06-16 00:13:50 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/206772)
4 years, 6 months ago (2016-06-16 00:19:03 UTC) #20
please use gerrit instead
This is close to the desired outcome. Good job! You've changed "success" to "immediateClose", which ...
4 years, 6 months ago (2016-06-16 00:31:46 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2054823002/200001
4 years, 6 months ago (2016-06-16 19:26:46 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/207265) win_chromium_rel_ng on ...
4 years, 6 months ago (2016-06-16 20:53:04 UTC) #25
please use gerrit instead
patch 5 lgtm
4 years, 6 months ago (2016-06-16 21:02:46 UTC) #26
please use gerrit instead
dfalcantara@, ptal android. palmer@, ptal payment_request.mojom.
4 years, 6 months ago (2016-06-16 21:03:29 UTC) #28
palmer
https://codereview.chromium.org/2054823002/diff/200001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java (right): https://codereview.chromium.org/2054823002/diff/200001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java#newcode401 chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestUI.java:401: * @param immediateClose Whether dismissing the dialog immediately without ...
4 years, 6 months ago (2016-06-16 22:00:56 UTC) #29
please use gerrit instead
https://codereview.chromium.org/2054823002/diff/200001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentResultUIManager.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentResultUIManager.java (right): https://codereview.chromium.org/2054823002/diff/200001/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentResultUIManager.java#newcode71 chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentResultUIManager.java:71: // if the complete() method takes success or empty ...
4 years, 6 months ago (2016-06-16 22:06:11 UTC) #30
palmer
> English is my second language as well, but perhaps this could be better: > ...
4 years, 6 months ago (2016-06-16 22:10:41 UTC) #31
gone
android bits lgtm % palmer's comments
4 years, 6 months ago (2016-06-16 22:30:27 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2054823002/240001
4 years, 6 months ago (2016-06-17 06:25:14 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2054823002/260001
4 years, 6 months ago (2016-06-17 08:16:05 UTC) #37
commit-bot: I haz the power
Committed patchset #8 (id:260001)
4 years, 6 months ago (2016-06-17 10:08:23 UTC) #39
commit-bot: I haz the power
4 years, 6 months ago (2016-06-17 10:09:46 UTC) #41
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/5368cdb012e5b9e64f18d9b5bdd914694a6aef94
Cr-Commit-Position: refs/heads/master@{#400410}

Powered by Google App Engine
This is Rietveld 408576698