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

Issue 2925063003: [Payments] Implement payment instrument icons (Closed)

Created:
3 years, 6 months ago by gogerald1
Modified:
3 years, 6 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, Aaron Boodman, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, gogerald+paymentswatch_chromium.org, rouslan+payments_chromium.org, blink-reviews, darin-cc_chromium.org, agrieve+watch_chromium.org, mahmadi+paymentswatch_chromium.org, darin (slow to review), abarth-chromium, sebsg+paymentswatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 27

Patch Set 3 : address comments and add DEPS #

Total comments: 2

Patch Set 4 : remove unused attributes #

Total comments: 10

Patch Set 5 : resolve url based on execution context #

Total comments: 34

Patch Set 6 : reference count #

Total comments: 17

Patch Set 7 : fix comment lines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+417 lines, -17 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java View 2 chunks +14 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentInstrument.java View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java View 1 2 3 4 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/browser/android/payments/service_worker_payment_app_bridge.cc View 2 chunks +3 lines, -1 line 0 comments Download
M components/payments/mojom/payment_app.mojom View 1 2 3 4 5 6 3 chunks +16 lines, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/payments/payment_app.proto View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/payments/payment_app_database.h View 1 2 3 4 5 3 chunks +11 lines, -0 lines 0 comments Download
M content/browser/payments/payment_app_database.cc View 1 2 3 4 5 6 8 chunks +61 lines, -1 line 0 comments Download
A content/browser/payments/payment_instrument_icon_fetcher.h View 1 2 3 4 5 1 chunk +76 lines, -0 lines 0 comments Download
A content/browser/payments/payment_instrument_icon_fetcher.cc View 1 2 3 4 5 1 chunk +163 lines, -0 lines 0 comments Download
M content/public/browser/stored_payment_instrument.h View 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/payments/ImageObject.idl View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentInstrument.idl View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentInstruments.cpp View 1 2 3 4 3 chunks +30 lines, -0 lines 0 comments Download

Messages

Total messages: 73 (52 generated)
gogerald1
Hi, rouslan@ and jinho.bang@, ptal,
3 years, 6 months ago (2017-06-08 20:19:39 UTC) #14
please use gerrit instead
The CL description should link to the pull request that describes the ImageObject IDL. https://codereview.chromium.org/2925063003/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentInstrument.java ...
3 years, 6 months ago (2017-06-08 21:34:11 UTC) #17
gogerald1
Hi rouslan@, ptal, https://codereview.chromium.org/2925063003/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentInstrument.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentInstrument.java (right): https://codereview.chromium.org/2925063003/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentInstrument.java#newcode49 chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentInstrument.java:49: icon /* icon */); On 2017/06/08 ...
3 years, 6 months ago (2017-06-09 14:23:24 UTC) #25
please use gerrit instead
Sorry if I seem like I'm making unreasonable requests for the IPC struct formats. This ...
3 years, 6 months ago (2017-06-09 14:52:53 UTC) #29
gogerald1
Hi dcheng@, ptal of changes in components/payments/mojom/payment_app.mojom which corresponds https://codereview.chromium.org/2925063003/diff/80001/components/payments/mojom/payment_app.mojom File components/payments/mojom/payment_app.mojom (right): https://codereview.chromium.org/2925063003/diff/80001/components/payments/mojom/payment_app.mojom#newcode21 components/payments/mojom/payment_app.mojom:21: ...
3 years, 6 months ago (2017-06-09 18:50:56 UTC) #33
please use gerrit instead
lgtm
3 years, 6 months ago (2017-06-09 19:14:54 UTC) #34
zino
lgtm with some comments. https://codereview.chromium.org/2925063003/diff/140001/content/browser/payments/payment_app_database.cc File content/browser/payments/payment_app_database.cc (right): https://codereview.chromium.org/2925063003/diff/140001/content/browser/payments/payment_app_database.cc#newcode100 content/browser/payments/payment_app_database.cc:100: instrument->icon = base::MakeUnique<SkBitmap>(icon_image.AsBitmap()); Although there ...
3 years, 6 months ago (2017-06-09 20:29:48 UTC) #37
gogerald1
Thanks https://codereview.chromium.org/2925063003/diff/140001/content/browser/payments/payment_app_database.cc File content/browser/payments/payment_app_database.cc (right): https://codereview.chromium.org/2925063003/diff/140001/content/browser/payments/payment_app_database.cc#newcode100 content/browser/payments/payment_app_database.cc:100: instrument->icon = base::MakeUnique<SkBitmap>(icon_image.AsBitmap()); On 2017/06/09 20:29:48, zino wrote: ...
3 years, 6 months ago (2017-06-09 22:25:03 UTC) #42
gogerald1
Hi haraken@, Please review changes in third_party/WebKit/Source/modules/modules_idl_files.gni alexmos@, Please review changes in content/browser/BUILD.gn content/public/browser/stored_payment_instrument.h
3 years, 6 months ago (2017-06-09 22:28:52 UTC) #44
haraken
https://codereview.chromium.org/2925063003/diff/200001/third_party/WebKit/Source/modules/payments/ImageObject.idl File third_party/WebKit/Source/modules/payments/ImageObject.idl (right): https://codereview.chromium.org/2925063003/diff/200001/third_party/WebKit/Source/modules/payments/ImageObject.idl#newcode5 third_party/WebKit/Source/modules/payments/ImageObject.idl:5: // https://github.com/w3c/payment-handler/pull/174/files/6e6768c423e24719cb0e592cd98614f052e52a78 Can we add a more stable URL ...
3 years, 6 months ago (2017-06-09 23:13:22 UTC) #45
dcheng
https://codereview.chromium.org/2925063003/diff/200001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java (right): https://codereview.chromium.org/2925063003/diff/200001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java#newcode69 chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java:69: "https://bobpay.com", "basic-card")) /* methodNames */, Nit: this should probably ...
3 years, 6 months ago (2017-06-10 00:37:10 UTC) #48
gogerald1
Thanks, another look? https://codereview.chromium.org/2925063003/diff/200001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java (right): https://codereview.chromium.org/2925063003/diff/200001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java#newcode69 chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java:69: "https://bobpay.com", "basic-card")) /* methodNames */, On ...
3 years, 6 months ago (2017-06-12 16:19:44 UTC) #54
dcheng
https://codereview.chromium.org/2925063003/diff/200001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java (right): https://codereview.chromium.org/2925063003/diff/200001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java#newcode69 chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java:69: "https://bobpay.com", "basic-card")) /* methodNames */, On 2017/06/12 16:19:43, gogerald1 ...
3 years, 6 months ago (2017-06-13 09:02:56 UTC) #57
gogerald1
another look? https://codereview.chromium.org/2925063003/diff/200001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java (right): https://codereview.chromium.org/2925063003/diff/200001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java#newcode69 chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java:69: "https://bobpay.com", "basic-card")) /* methodNames */, On 2017/06/13 ...
3 years, 6 months ago (2017-06-13 15:37:21 UTC) #60
dcheng
ipc lgtm https://codereview.chromium.org/2925063003/diff/200001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java (right): https://codereview.chromium.org/2925063003/diff/200001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java#newcode69 chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java:69: "https://bobpay.com", "basic-card")) /* methodNames */, On 2017/06/13 ...
3 years, 6 months ago (2017-06-13 17:33:16 UTC) #63
zino
Hi dcheng@, I'm not sure if my comment is helpful, but I hope it helps ...
3 years, 6 months ago (2017-06-13 18:02:44 UTC) #64
alexmos
> alexmos@, Please review changes in > content/browser/BUILD.gn > content/public/browser/stored_payment_instrument.h Those two files LGTM
3 years, 6 months ago (2017-06-13 18:09:01 UTC) #65
haraken
LGTM
3 years, 6 months ago (2017-06-14 01:23:16 UTC) #66
gogerald1
Thanks all for reviewing, especially zino@ for further explanation, sending to CQ for now. https://codereview.chromium.org/2925063003/diff/200001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java ...
3 years, 6 months ago (2017-06-14 01:28:16 UTC) #67
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/2925063003/260001
3 years, 6 months ago (2017-06-14 01:28:47 UTC) #70
commit-bot: I haz the power
3 years, 6 months ago (2017-06-14 02:22:57 UTC) #73
Message was sent while issue was closed.
Committed patchset #7 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/d8c5af3464ac1f827f8e673095c8...

Powered by Google App Engine
This is Rietveld 408576698