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

Issue 2085133003: Add billing address to credit cards. (Closed)

Created:
4 years, 6 months ago by please use gerrit instead
Modified:
4 years, 6 months ago
CC:
browser-components-watch_chromium.org, chromium-reviews, estade+watch_chromium.org, jdonnelly+autofillwatch_chromium.org, rouslan+autofill_chromium.org, vabr+watchlistautofill_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add billing address to credit cards. Local credit cards now can have local profiles as their billing addresses. This patch changes the autofill table version from 65 to 66. The user can change the billing address in the Android credit card settings UI. The billing address is necessary for PaymentRequest. BUG=602663 Committed: https://crrev.com/7c7c0eb2a4166ab67530c1aa3ae3a465b9f1125b Cr-Commit-Position: refs/heads/master@{#401619}

Patch Set 1 #

Patch Set 2 : Update credit card construction in integration tests. #

Patch Set 3 : Fix SyncCustomizationFramgentTest compilation #

Total comments: 8

Patch Set 4 : Addressed comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -50 lines) Patch
M chrome/android/java/res/layout/autofill_credit_card_editor.xml View 1 chunk +16 lines, -0 lines 2 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java View 1 2 3 6 chunks +23 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java View 6 chunks +30 lines, -5 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/autofill/PersonalDataManagerTest.java View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestAbortTest.java View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestContactDetailsTest.java View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestEmailTest.java View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestFreeShippingTest.java View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteEmailTest.java View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompletePhoneTest.java View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestNoShippingTest.java View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPhoneTest.java View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/sync_shell/javatests/src/org/chromium/chrome/browser/sync/SyncCustomizationFragmentTest.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autofill/android/personal_data_manager_android.cc View 3 chunks +9 lines, -8 lines 0 comments Download
M components/autofill/core/browser/credit_card.h View 2 chunks +8 lines, -0 lines 0 comments Download
M components/autofill/core/browser/credit_card.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_table.h View 1 2 3 3 chunks +6 lines, -1 line 0 comments Download
M components/autofill/core/browser/webdata/autofill_table.cc View 1 2 3 8 chunks +20 lines, -7 lines 0 comments Download
A + components/test/data/web_database/version_65.sql View 2 chunks +13 lines, -8 lines 0 comments Download
M components/webdata/common/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/webdata/common/web_database.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/webdata/common/web_database_migration_unittest.cc View 1 2 3 2 chunks +43 lines, -1 line 0 comments Download

Messages

Total messages: 18 (7 generated)
please use gerrit instead
dfalcantara@, ptal patch 1. Video in https://drive.google.com/open?id=0BwnAxYoFTeYPUkJuOThBa1IwR1k Do you think we should polish the UI ...
4 years, 6 months ago (2016-06-22 18:08:04 UTC) #2
please use gerrit instead
shess@, ptal components/webdata/ in patch 2.
4 years, 6 months ago (2016-06-22 18:41:16 UTC) #4
Mathieu
chrome/browser/autofill and components/autofill stuff all looks good to me, lgtm
4 years, 6 months ago (2016-06-22 18:58:37 UTC) #6
please use gerrit instead
shess@, ptal patch 2 components/webdata/
4 years, 6 months ago (2016-06-22 19:15:09 UTC) #8
Scott Hess - ex-Googler
lgtm. WRT nits, please remove the transaction indicated, change to Execute() where indicated. https://codereview.chromium.org/2085133003/diff/40001/components/autofill/core/browser/webdata/autofill_table.cc File ...
4 years, 6 months ago (2016-06-22 21:52:16 UTC) #9
please use gerrit instead
https://codereview.chromium.org/2085133003/diff/40001/components/autofill/core/browser/webdata/autofill_table.cc File components/autofill/core/browser/webdata/autofill_table.cc (right): https://codereview.chromium.org/2085133003/diff/40001/components/autofill/core/browser/webdata/autofill_table.cc#newcode1452 components/autofill/core/browser/webdata/autofill_table.cc:1452: s.BindString(10, credit_card.guid()); On 2016/06/22 21:52:15, Scott Hess wrote: > ...
4 years, 6 months ago (2016-06-23 01:26:58 UTC) #10
gone
Would be nice if the spinny were a little bit more evenly padded, but I ...
4 years, 6 months ago (2016-06-23 15:56:27 UTC) #11
please use gerrit instead
Sending to cq. https://chromiumcodereview.appspot.com/2085133003/diff/60001/chrome/android/java/res/layout/autofill_credit_card_editor.xml File chrome/android/java/res/layout/autofill_credit_card_editor.xml (right): https://chromiumcodereview.appspot.com/2085133003/diff/60001/chrome/android/java/res/layout/autofill_credit_card_editor.xml#newcode105 chrome/android/java/res/layout/autofill_credit_card_editor.xml:105: android:paddingTop="@dimen/pref_autofill_field_top_padding" On 2016/06/23 15:56:27, dfalcantara wrote: ...
4 years, 6 months ago (2016-06-23 16:00:44 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2085133003/60001
4 years, 6 months ago (2016-06-23 16:01:40 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-23 16:06:34 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 16:09:20 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7c7c0eb2a4166ab67530c1aa3ae3a465b9f1125b
Cr-Commit-Position: refs/heads/master@{#401619}

Powered by Google App Engine
This is Rietveld 408576698