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

Issue 2626263005: [Autofill] Sync new wallet metadata fields through Chrome Sync. (Closed)

Created:
3 years, 11 months ago by sebsg
Modified:
3 years, 11 months ago
CC:
chromium-reviews, rouslan+autofill_chromium.org, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Autofill] Sync new wallet metadata fields through Chrome Sync. Sync the new has_converted field for wallet addresses metadata and the new billing_address_id field for the wallet card metadata through Chrome Sync. BUG=681131 Review-Url: https://codereview.chromium.org/2626263005 Cr-Commit-Position: refs/heads/master@{#444423} Committed: https://chromium.googlesource.com/chromium/src/+/ca7d5cf7a234e2f4d085b3be0781bfd0765c0130

Patch Set 1 : Add tests #

Total comments: 12

Patch Set 2 : Addressed comments #

Patch Set 3 : Merge fields individually #

Total comments: 6

Patch Set 4 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+622 lines, -334 lines) Patch
M components/autofill/core/browser/autofill_profile.h View 2 chunks +8 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_profile.cc View 1 2 2 chunks +7 lines, -5 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.h View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc View 1 2 3 4 chunks +120 lines, -37 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service_unittest.cc View 1 2 26 chunks +474 lines, -289 lines 0 comments Download
M components/sync/protocol/autofill_specifics.proto View 1 chunk +7 lines, -0 lines 0 comments Download
M components/sync/protocol/proto_visitors.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (18 generated)
sebsg
Hi Math, could you please take a look?
3 years, 11 months ago (2017-01-16 17:40:25 UTC) #6
sebsg
Hi Rouslan, PTAL?
3 years, 11 months ago (2017-01-16 17:44:08 UTC) #8
sebsg
Forgot to mention this is still slightly WIP for the merging logic. I'm thinking about ...
3 years, 11 months ago (2017-01-16 18:03:08 UTC) #10
please use gerrit instead
https://codereview.chromium.org/2626263005/diff/20001/components/autofill/core/browser/autofill_profile.cc File components/autofill/core/browser/autofill_profile.cc (right): https://codereview.chromium.org/2626263005/diff/20001/components/autofill/core/browser/autofill_profile.cc#newcode246 components/autofill/core/browser/autofill_profile.cc:246: has_converted_ = profile.has_converted(); You need to initialize this boolean ...
3 years, 11 months ago (2017-01-16 18:20:12 UTC) #13
sebsg
Thanks Rouslan, another look? https://codereview.chromium.org/2626263005/diff/20001/components/autofill/core/browser/autofill_profile.cc File components/autofill/core/browser/autofill_profile.cc (right): https://codereview.chromium.org/2626263005/diff/20001/components/autofill/core/browser/autofill_profile.cc#newcode246 components/autofill/core/browser/autofill_profile.cc:246: has_converted_ = profile.has_converted(); On 2017/01/16 ...
3 years, 11 months ago (2017-01-16 18:57:39 UTC) #14
please use gerrit instead
https://codereview.chromium.org/2626263005/diff/20001/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc File components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc (left): https://codereview.chromium.org/2626263005/diff/20001/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc#oldcode168 components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc:168: size_t remote_use_count = On 2017/01/16 18:57:39, sebsg wrote: > ...
3 years, 11 months ago (2017-01-17 14:47:37 UTC) #15
please use gerrit instead
https://codereview.chromium.org/2626263005/diff/20001/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc File components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc (right): https://codereview.chromium.org/2626263005/diff/20001/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc#newcode74 components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc:74: // The strings must be in valid UTF-8 to ...
3 years, 11 months ago (2017-01-17 14:50:05 UTC) #16
sebsg
Thanks Rouslan! Another look?
3 years, 11 months ago (2017-01-17 18:22:02 UTC) #17
sebsg
Hi zea@ could you please review the changes in components/sync/* Thanks!
3 years, 11 months ago (2017-01-17 18:24:46 UTC) #19
please use gerrit instead
lgtm % comments https://codereview.chromium.org/2626263005/diff/60001/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc File components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc (right): https://codereview.chromium.org/2626263005/diff/60001/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc#newcode159 components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc:159: void MergeBasicMetadata(const sync_pb::WalletMetadataSpecifics& remote_metadata, s/Basic/Common/ https://codereview.chromium.org/2626263005/diff/60001/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc#newcode597 ...
3 years, 11 months ago (2017-01-17 20:57:30 UTC) #20
Mathieu
lgtm
3 years, 11 months ago (2017-01-17 21:51:47 UTC) #21
Nicolas Zea
lgtm
3 years, 11 months ago (2017-01-18 01:21:18 UTC) #22
sebsg
Thanks! Sending to CQ https://codereview.chromium.org/2626263005/diff/60001/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc File components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc (right): https://codereview.chromium.org/2626263005/diff/60001/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc#newcode159 components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc:159: void MergeBasicMetadata(const sync_pb::WalletMetadataSpecifics& remote_metadata, On ...
3 years, 11 months ago (2017-01-18 18:33:48 UTC) #27
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/2626263005/80001
3 years, 11 months ago (2017-01-18 18:34:18 UTC) #30
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 18:39:38 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/ca7d5cf7a234e2f4d085b3be0781...

Powered by Google App Engine
This is Rietveld 408576698