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

Issue 2436883002: Make PaymentOption store a Drawable instead of id (Closed)

Created:
4 years, 2 months ago by rwlbuis
Modified:
4 years, 1 month ago
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make PaymentOption store a Drawable instead of id Make PaymentOption store a Drawable instead of id for the icon. This will allow to use icons not contained in the default resources. BUG=587995 Committed: https://crrev.com/84b683c8c0e9495462022b214b6f08922e4fd6fb Cr-Commit-Position: refs/heads/master@{#426596}

Patch Set 1 #

Patch Set 2 : Try to fix test compilation #

Total comments: 3

Patch Set 3 : Patch for landing #

Patch Set 4 : Fix presubmit warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -46 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillAddress.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillContact.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillPaymentApp.java View 3 chunks +9 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillPaymentInstrument.java View 1 2 5 chunks +15 lines, -6 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/CardEditor.java View 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentAppFactory.java View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentInstrument.java View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java View 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentOption.java View 1 2 4 chunks +11 lines, -14 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestSection.java View 2 7 chunks +11 lines, -10 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (17 generated)
rwlbuis
PTAL. Note that I had to add a card.getIssuerIconDrawableId() < 1 check in AutofillPaymentInstrument ctor, ...
4 years, 2 months ago (2016-10-20 00:00:49 UTC) #6
please use gerrit instead
lgtm % comments below. Please address these comments before submitting. https://codereview.chromium.org/2436883002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillPaymentInstrument.java File chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillPaymentInstrument.java (right): https://codereview.chromium.org/2436883002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillPaymentInstrument.java#newcode49 ...
4 years, 2 months ago (2016-10-20 15:22:18 UTC) #7
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/2436883002/80001
4 years, 2 months ago (2016-10-20 17:21:23 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/286124)
4 years, 2 months ago (2016-10-20 17:51:46 UTC) #13
rwlbuis
@miguelg need blessing for the PaymentRequestTestBase.java change.
4 years, 2 months ago (2016-10-20 18:21:48 UTC) #15
rwlbuis
@tedchoc you may be closer to my timezone than miguelg :) Could you take a ...
4 years, 2 months ago (2016-10-20 19:32:22 UTC) #17
please use gerrit instead
On 2016/10/20 19:32:22, rwlbuis wrote: > @tedchoc you may be closer to my timezone than ...
4 years, 2 months ago (2016-10-20 19:34:05 UTC) #18
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/2436883002/80001
4 years, 2 months ago (2016-10-20 19:34:57 UTC) #20
rwlbuis
On 2016/10/20 19:34:05, rouslan wrote: > FYI, I own chrome/android/javatests/src/org/chromium/chrome/browser/payments/ > now as well, so ...
4 years, 2 months ago (2016-10-20 19:47:13 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/286230)
4 years, 2 months ago (2016-10-20 19:52:57 UTC) #23
please use gerrit instead
Error from presubmit: * Presubmit ERRORS ** chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java:36: Wrong order for org.json.JSONObject import. Use :JavaImportOrganize ...
4 years, 2 months ago (2016-10-20 19:54:19 UTC) #24
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/2436883002/100001
4 years, 2 months ago (2016-10-20 20:23:42 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 2 months ago (2016-10-20 21:08:19 UTC) #29
Dmitry Skiba
A revert of this CL (patchset #4 id:100001) has been created in https://codereview.chromium.org/2437223002/ by dskiba@google.com. ...
4 years, 2 months ago (2016-10-20 22:18:42 UTC) #30
commit-bot: I haz the power
4 years, 1 month ago (2016-10-21 13:22:29 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/84b683c8c0e9495462022b214b6f08922e4fd6fb
Cr-Commit-Position: refs/heads/master@{#426596}

Powered by Google App Engine
This is Rietveld 408576698