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

Issue 2109643003: Add billing address to masked server credit cards. (Closed)

Created:
4 years, 5 months ago by please use gerrit instead
Modified:
4 years, 5 months ago
CC:
chromium-reviews, rouslan+autofill_chromium.org, estade+watch_chromium.org, vabr+watchlistautofill_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, Justin Donnelly, groby-ooo-7-16
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 masked server credit cards. Autofill table: * Added billing_address_id column to masked_credit_card table. * Bumped version to 67. Sync: * Do not overwrite user's preferred billing address for their server card when downloading masked credit cards from the server. Personal data manager: * Added an UpdateServerCreditCardBillingAddress() method to support changes from settings. Android autofill settings: * Let users change the billing address of their server credit card. * Local and server credit card settings have a common parent and re-use common UI elements. BUG=602663 Committed: https://crrev.com/31ca43a09d9883e80fdda6c504f6f2c10c5e2901 Cr-Commit-Position: refs/heads/master@{#403282}

Patch Set 1 #

Patch Set 2 : Delete AutofillServerCardPreferences.java #

Total comments: 22

Patch Set 3 : Address all comments #

Patch Set 4 : Rebase #

Total comments: 11

Patch Set 5 : Address dfalcantara@'s comments #

Patch Set 6 : Add version_66.sql to the build file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+527 lines, -623 lines) Patch
A chrome/android/java/res/layout/autofill_billing_address_dropdown.xml View 1 2 3 4 1 chunk +29 lines, -0 lines 0 comments Download
M chrome/android/java/res/layout/autofill_credit_card_editor.xml View 1 2 1 chunk +0 lines, -107 lines 0 comments Download
A + chrome/android/java/res/layout/autofill_local_card_editor.xml View 1 2 3 4 5 chunks +11 lines, -33 lines 0 comments Download
D chrome/android/java/res/layout/autofill_server_card_clear_copy_button.xml View 1 chunk +0 lines, -16 lines 0 comments Download
A chrome/android/java/res/layout/autofill_server_card_editor.xml View 1 2 3 4 1 chunk +77 lines, -0 lines 0 comments Download
M chrome/android/java/res/values/dimens.xml View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/res/xml/autofill_preferences.xml View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/res/xml/autofill_server_card_preferences.xml View 1 chunk +0 lines, -22 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java View 1 2 3 4 2 chunks +20 lines, -278 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillEditorBase.java View 1 2 3 chunks +12 lines, -2 lines 0 comments Download
A + chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillLocalCardEditor.java View 1 2 8 chunks +17 lines, -61 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillPreferences.java View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillServerCardEditor.java View 1 2 3 4 1 chunk +108 lines, -0 lines 0 comments Download
D chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillServerCardPreferences.java View 1 1 chunk +0 lines, -77 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/autofill/android/personal_data_manager_android.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/autofill/android/personal_data_manager_android.cc View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager.h View 1 chunk +5 lines, -1 line 0 comments Download
M components/autofill/core/browser/personal_data_manager.cc View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_table.h View 3 chunks +7 lines, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_table.cc View 1 2 8 chunks +35 lines, -5 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_table_unittest.cc View 1 chunk +27 lines, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_wallet_syncable_service.cc View 1 2 2 chunks +27 lines, -2 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_webdata.h View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc View 1 chunk +16 lines, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_webdata_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_webdata_service.cc View 1 chunk +8 lines, -0 lines 0 comments Download
A + components/test/data/web_database/version_66.sql View 2 chunks +9 lines, -9 lines 0 comments Download
M components/webdata/common/BUILD.gn View 1 2 3 4 5 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 2 chunks +44 lines, -1 line 0 comments Download

Messages

Total messages: 32 (16 generated)
please use gerrit instead
dfalcantara@, ptal android UI. Screenshots in http://crbug.com/602663#c11. shess@, ptal components/webdata/. mathp@, ptal components/autofill/.
4 years, 5 months ago (2016-06-29 17:48:18 UTC) #8
Scott Hess - ex-Googler
LGTM, your option on suggestions. https://codereview.chromium.org/2109643003/diff/80001/components/autofill/core/browser/webdata/autofill_table.cc File components/autofill/core/browser/webdata/autofill_table.cc (right): https://codereview.chromium.org/2109643003/diff/80001/components/autofill/core/browser/webdata/autofill_table.cc#newcode1409 components/autofill/core/browser/webdata/autofill_table.cc:1409: return false; Don't need ...
4 years, 5 months ago (2016-06-29 20:04:07 UTC) #9
gone
https://chromiumcodereview.appspot.com/2109643003/diff/80001/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/2109643003/diff/80001/chrome/android/java/res/layout/autofill_credit_card_editor.xml#newcode13 chrome/android/java/res/layout/autofill_credit_card_editor.xml:13: <!-- The section that's shown only for server cards. ...
4 years, 5 months ago (2016-06-29 20:09:42 UTC) #10
Mathieu
browser autofill lgtm https://codereview.chromium.org/2109643003/diff/80001/components/autofill/core/browser/webdata/autofill_webdata.h File components/autofill/core/browser/webdata/autofill_webdata.h (right): https://codereview.chromium.org/2109643003/diff/80001/components/autofill/core/browser/webdata/autofill_webdata.h#newcode120 components/autofill/core/browser/webdata/autofill_webdata.h:120: // Updates the billing address for ...
4 years, 5 months ago (2016-06-29 21:06:35 UTC) #11
please use gerrit instead
dfalcantara@, ptal patch 2. Screenshots in http://crbug.com/602663#c22 https://codereview.chromium.org/2109643003/diff/80001/chrome/android/java/res/layout/autofill_credit_card_editor.xml File chrome/android/java/res/layout/autofill_credit_card_editor.xml (right): https://codereview.chromium.org/2109643003/diff/80001/chrome/android/java/res/layout/autofill_credit_card_editor.xml#newcode13 chrome/android/java/res/layout/autofill_credit_card_editor.xml:13: <!-- The ...
4 years, 5 months ago (2016-06-30 01:19:27 UTC) #12
Scott Hess - ex-Googler
still lgtm.
4 years, 5 months ago (2016-06-30 06:00:35 UTC) #14
gone
lgtm % question about TextViewWithClickableSpans https://codereview.chromium.org/2109643003/diff/120001/chrome/android/java/res/layout/autofill_local_card_editor.xml File chrome/android/java/res/layout/autofill_local_card_editor.xml (right): https://codereview.chromium.org/2109643003/diff/120001/chrome/android/java/res/layout/autofill_local_card_editor.xml#newcode20 chrome/android/java/res/layout/autofill_local_card_editor.xml:20: android:hint="@string/autofill_credit_card_editor_name"/> I've generally seen ...
4 years, 5 months ago (2016-06-30 17:26:37 UTC) #15
please use gerrit instead
Comments addressed. Sending to cq. https://codereview.chromium.org/2109643003/diff/120001/chrome/android/java/res/layout/autofill_local_card_editor.xml File chrome/android/java/res/layout/autofill_local_card_editor.xml (right): https://codereview.chromium.org/2109643003/diff/120001/chrome/android/java/res/layout/autofill_local_card_editor.xml#newcode20 chrome/android/java/res/layout/autofill_local_card_editor.xml:20: android:hint="@string/autofill_credit_card_editor_name"/> On 2016/06/30 17:26:36, ...
4 years, 5 months ago (2016-06-30 18:36:27 UTC) #16
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/2109643003/140001
4 years, 5 months ago (2016-06-30 18:37:00 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator-gn on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-gn/builds/29875)
4 years, 5 months ago (2016-06-30 19:34:44 UTC) #21
please use gerrit instead
shess@: Any idea why the iOS cannot find the version_66.sql file? [ RUN ] WebDatabaseMigrationTest.VersionXxSqlFilesAreGolden ...
4 years, 5 months ago (2016-06-30 19:51:52 UTC) #23
please use gerrit instead
Nevermind, found the problem. Forgot to add version_66.sql to the build file, which is used ...
4 years, 5 months ago (2016-06-30 19:55:48 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/2109643003/160001
4 years, 5 months ago (2016-06-30 19:57:10 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:160001)
4 years, 5 months ago (2016-06-30 21:03:52 UTC) #29
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 21:04:16 UTC) #30
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 21:05:07 UTC) #32
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/31ca43a09d9883e80fdda6c504f6f2c10c5e2901
Cr-Commit-Position: refs/heads/master@{#403282}

Powered by Google App Engine
This is Rietveld 408576698