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

Issue 2039863002: PaymentRequest: Sync up PaymentAddress with the payment request spec. (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, haraken, dglazkov+blink, blink-reviews, darin (slow to review), ben+mojo_chromium.org, blink-reviews-api_chromium.org, Evan Stade
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PaymentRequest: Sync up PaymentAddress with the payment request spec. Some attributes in PaymentAddress was renamed and added. This CL syncs up the PaymentAddress with the spec[1]. [1] https://w3c.github.io/browser-payment-api/specs/paymentrequest.html#paymentaddress-interface BUG=617190 Committed: https://crrev.com/49b94a9305230f24b934d79dc6b56df517b71a05 Cr-Commit-Position: refs/heads/master@{#398455}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 21

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -53 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java View 1 2 3 4 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/junit/src/org/chromium/chrome/browser/payments/AutofillAddressTest.java View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/autofill/android/personal_data_manager_android.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/android/payments/dynamic_shipping.js View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/android/payments/util.js View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentAddress.h View 1 2 3 4 1 chunk +10 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentAddress.cpp View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentAddress.idl View 1 2 3 4 7 1 chunk +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp View 1 2 3 4 2 chunks +10 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp View 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentsValidators.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentsValidators.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentsValidatorsTest.cpp View 5 chunks +10 lines, -10 lines 0 comments Download
M third_party/WebKit/public/platform/modules/payments/payment_request.mojom View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 45 (20 generated)
zino
PTAL
4 years, 6 months ago (2016-06-06 14:16:44 UTC) #4
please use gerrit instead
Excellent! Let's add phone and careOf everywhere as well. https://codereview.chromium.org/2039863002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java File chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java (right): https://codereview.chromium.org/2039863002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java#newcode68 chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java:68: ...
4 years, 6 months ago (2016-06-06 16:01:15 UTC) #5
zino
Thank you for your review! I addressed all of your comments. Also, the bot error ...
4 years, 6 months ago (2016-06-06 17:23:16 UTC) #6
please use gerrit instead
Only a couple of minor comments remaining. https://codereview.chromium.org/2039863002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java File chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java (right): https://codereview.chromium.org/2039863002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java#newcode50 chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java:50: assert profile.getPhoneNumber() ...
4 years, 6 months ago (2016-06-06 17:35:48 UTC) #7
zino
Thank you for review https://codereview.chromium.org/2039863002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java File chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java (right): https://codereview.chromium.org/2039863002/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java#newcode50 chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java:50: assert profile.getPhoneNumber() != null : ...
4 years, 6 months ago (2016-06-06 18:02:17 UTC) #8
please use gerrit instead
lgtm
4 years, 6 months ago (2016-06-06 18:12:17 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039863002/120001
4 years, 6 months ago (2016-06-06 18:13:03 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/77111) android_compile_dbg on ...
4 years, 6 months ago (2016-06-06 18:27:42 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039863002/120001
4 years, 6 months ago (2016-06-06 19:15:32 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/195758)
4 years, 6 months ago (2016-06-06 19:24:47 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039863002/120001
4 years, 6 months ago (2016-06-06 23:55:40 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/77483) chromeos_daisy_chromium_compile_only_ng on ...
4 years, 6 months ago (2016-06-07 00:07:23 UTC) #22
zino
https://codereview.chromium.org/2039863002/diff/160001/third_party/WebKit/Source/modules/payments/PaymentAddress.idl File third_party/WebKit/Source/modules/payments/PaymentAddress.idl (left): https://codereview.chromium.org/2039863002/diff/160001/third_party/WebKit/Source/modules/payments/PaymentAddress.idl#oldcode11 third_party/WebKit/Source/modules/payments/PaymentAddress.idl:11: readonly attribute sequence<DOMString> addressLine; When using FrozenArray type, link ...
4 years, 6 months ago (2016-06-07 12:27:53 UTC) #24
zino
Dear all, Please confirm this. +dfalcantara@ for chrome/android/* +estade@ for chrome/browser/autofill/* +tsepez@ for *.mojom Thank ...
4 years, 6 months ago (2016-06-07 12:32:53 UTC) #27
zino
https://codereview.chromium.org/2039863002/diff/160001/third_party/WebKit/Source/modules/payments/PaymentAddress.idl File third_party/WebKit/Source/modules/payments/PaymentAddress.idl (left): https://codereview.chromium.org/2039863002/diff/160001/third_party/WebKit/Source/modules/payments/PaymentAddress.idl#oldcode11 third_party/WebKit/Source/modules/payments/PaymentAddress.idl:11: readonly attribute sequence<DOMString> addressLine; On 2016/06/07 12:27:53, zino wrote: ...
4 years, 6 months ago (2016-06-07 12:47:15 UTC) #28
Tom Sepez
mojom lgtm
4 years, 6 months ago (2016-06-07 16:10:38 UTC) #29
please use gerrit instead
+mathp@ for personal_data_manager_android.cc -estade@, as he is ooo.
4 years, 6 months ago (2016-06-07 17:06:11 UTC) #31
Mathieu
On 2016/06/07 at 17:06:11, rouslan wrote: > +mathp@ for personal_data_manager_android.cc > > -estade@, as he ...
4 years, 6 months ago (2016-06-07 17:28:32 UTC) #32
gone
android/ lgtm
4 years, 6 months ago (2016-06-07 18:18:35 UTC) #33
please use gerrit instead
On 2016/06/07 17:28:32, Mathieu Perreault wrote: > Hi Rouslan, did you confirm whether adding phone ...
4 years, 6 months ago (2016-06-07 18:41:24 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039863002/180001
4 years, 6 months ago (2016-06-07 23:31:04 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/240705)
4 years, 6 months ago (2016-06-08 01:04:58 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039863002/180001
4 years, 6 months ago (2016-06-08 01:09:31 UTC) #41
commit-bot: I haz the power
Committed patchset #8 (id:180001)
4 years, 6 months ago (2016-06-08 01:53:12 UTC) #43
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 01:55:14 UTC) #45
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/49b94a9305230f24b934d79dc6b56df517b71a05
Cr-Commit-Position: refs/heads/master@{#398455}

Powered by Google App Engine
This is Rietveld 408576698