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

Issue 2797223002: [Payments] Use default country code if country code is not available in profile (Closed)

Created:
3 years, 8 months ago by gogerald1
Modified:
3 years, 8 months ago
CC:
chromium-reviews, mahmadi+paymentswatch_chromium.org, rouslan+payments_chromium.org, agrieve+watch_chromium.org, sebsg+paymentswatch_chromium.org, gogerald+paymentswatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use default country code if country code is not available in profile BUG=708686 Review-Url: https://codereview.chromium.org/2797223002 Cr-Commit-Position: refs/heads/master@{#462164} Committed: https://chromium.googlesource.com/chromium/src/+/52ec5bf083e5cbd9f4e58672bde3624d9446bb8b

Patch Set 1 #

Total comments: 4

Patch Set 2 : use country field value #

Patch Set 3 : fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 21 (15 generated)
gogerald1
Hi rouslan@, PTAL,
3 years, 8 months ago (2017-04-05 17:30:04 UTC) #4
please use gerrit instead
https://codereview.chromium.org/2797223002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java File chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java (right): https://codereview.chromium.org/2797223002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java#newcode114 chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java:114: mCountryField.setValue(AutofillAddress.getCountryCode(profile)); profile.setCountryCode(AutofillAddress.getCountryCode(profile)); mCountryField.setValue(profile.getCountryCode()); https://codereview.chromium.org/2797223002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java#newcode156 chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java:156: editor, AutofillAddress.getCountryCode(profile), profile.getLanguageCode()); AutofillAddress.getCountryCode() ...
3 years, 8 months ago (2017-04-05 17:33:24 UTC) #6
gogerald1
Used mCountryField.getValue(), WDYT? https://codereview.chromium.org/2797223002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java File chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java (right): https://codereview.chromium.org/2797223002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java#newcode114 chrome/android/java/src/org/chromium/chrome/browser/payments/AddressEditor.java:114: mCountryField.setValue(AutofillAddress.getCountryCode(profile)); On 2017/04/05 17:33:24, ಠ_ಠ wrote: ...
3 years, 8 months ago (2017-04-05 17:40:06 UTC) #9
please use gerrit instead
lgtm
3 years, 8 months ago (2017-04-05 18:18:09 UTC) #14
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/2797223002/40001
3 years, 8 months ago (2017-04-05 18:50:34 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 19:01:49 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/52ec5bf083e5cbd9f4e58672bde3...

Powered by Google App Engine
This is Rietveld 408576698