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

Issue 2949283002: [iOS] Set credit card icon using the saved network. (Closed)

Created:
3 years, 6 months ago by jif
Modified:
3 years, 5 months ago
Reviewers:
Moe, jif-google, lpromero
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, marq+watch_chromium.org, noyau+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[iOS] Set credit card icon using the saved network. When possible, the code stops using the credit card number to obtain the network. This is because the browser only knows the last four digit or non local cards, which is not sufficient to know the network. This CL also changes the label shown for non local credit cards: Instead of containing "1234", the label contains "Mastercard ... 1234". BUG=719988 Review-Url: https://codereview.chromium.org/2949283002 Cr-Commit-Position: refs/heads/master@{#482265} Committed: https://chromium.googlesource.com/chromium/src/+/4e19586ba1c5e3e5c837594366b89cb936928fc9

Patch Set 1 #

Patch Set 2 : NetworkAndLastFourDigits #

Patch Set 3 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -14 lines) Patch
M ios/chrome/browser/ui/settings/autofill_credit_card_edit_collection_view_controller.mm View 1 2 3 chunks +14 lines, -14 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
jif-google
ptal
3 years, 6 months ago (2017-06-22 16:07:04 UTC) #4
jif-google
On 2017/06/22 16:07:04, jif-google wrote: > ptal I tested with my non local card: previously, ...
3 years, 6 months ago (2017-06-22 16:16:17 UTC) #5
Moe
lgtm
3 years, 6 months ago (2017-06-22 16:36:34 UTC) #6
Moe
Forgot to mention, perhaps we can display CreditCard::NetworkAndLastFourDigits instead of the CreditCard::LastFourDigits() for server cards?
3 years, 6 months ago (2017-06-22 16:49:39 UTC) #7
jif
+lpromero for OWNER check
3 years, 6 months ago (2017-06-22 20:34:28 UTC) #11
lpromero
lgtm, sorry for the delay!
3 years, 6 months ago (2017-06-23 21:01:23 UTC) #12
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/2949283002/20001
3 years, 6 months ago (2017-06-23 21:01:51 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/238694) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 6 months ago (2017-06-23 21:04:05 UTC) #17
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/2949283002/40001
3 years, 5 months ago (2017-06-26 14:01:28 UTC) #20
commit-bot: I haz the power
3 years, 5 months ago (2017-06-26 14:13:48 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/4e19586ba1c5e3e5c837594366b8...

Powered by Google App Engine
This is Rietveld 408576698