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

Issue 2294913009: Fill the un-encrypted metadata field in password specifics. (Closed)

Created:
4 years, 3 months ago by melandory
Modified:
4 years, 1 month ago
Reviewers:
maxbogue, Nicolas Zea
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fill the unencrypted metadata field in password specifics. Fills the unencrypted metadata field when writing to the password entity is triggered, which should happen on every start up. This way it allows us to bootstrap the over wise empty field. * Field should stay empty for custom passphrase users. * The feature is guarded by the experiment, so the field should stay empty if experiment is disabled. * The entity shouldn't be marked unsynced unless the change to the field has happened. BUG=638963 Committed: https://crrev.com/72e34aa0b649fb40e03bc171da020bb4e9ccdef6 Cr-Commit-Position: refs/heads/master@{#427336}

Patch Set 1 : rebased #

Patch Set 2 : . #

Patch Set 3 : cleanup #

Patch Set 4 : additional tests #

Patch Set 5 : check #

Total comments: 10

Patch Set 6 : comment #

Patch Set 7 : additional test #

Total comments: 4

Patch Set 8 : rebased #

Patch Set 9 : address comments #

Patch Set 10 : rebased #

Patch Set 11 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -6 lines) Patch
M components/sync/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
A components/sync/base/sync_features.h View 1 2 3 4 5 6 7 8 9 1 chunk +16 lines, -0 lines 0 comments Download
A components/sync/base/sync_features.cc View 1 2 3 4 5 6 7 8 9 1 chunk +14 lines, -0 lines 0 comments Download
M components/sync/engine_impl/sync_manager_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +191 lines, -6 lines 0 comments Download
M components/sync/syncable/base_transaction.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
M components/sync/syncable/base_transaction.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M components/sync/syncable/write_node.cc View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 78 (64 generated)
melandory
PTAL
4 years, 3 months ago (2016-09-23 14:01:43 UTC) #36
Nicolas Zea
Is there any test that verifies that writing a new password with a custom passphrase ...
4 years, 3 months ago (2016-09-23 23:10:37 UTC) #39
melandory
On 2016/09/23 23:10:37, Nicolas Zea wrote: > Is there any test that verifies that writing ...
4 years, 2 months ago (2016-10-04 10:13:04 UTC) #48
melandory
https://codereview.chromium.org/2294913009/diff/140001/components/sync/core/password_metadata_filling.cc File components/sync/core/password_metadata_filling.cc (right): https://codereview.chromium.org/2294913009/diff/140001/components/sync/core/password_metadata_filling.cc#newcode10 components/sync/core/password_metadata_filling.cc:10: "PasswordMetadaraFilling", base::FEATURE_DISABLED_BY_DEFAULT}; On 2016/09/23 23:10:37, Nicolas Zea wrote: > ...
4 years, 2 months ago (2016-10-04 10:13:12 UTC) #49
Nicolas Zea
LGTM! https://codereview.chromium.org/2294913009/diff/180001/components/sync/core/sync_features.cc File components/sync/core/sync_features.cc (right): https://codereview.chromium.org/2294913009/diff/180001/components/sync/core/sync_features.cc#newcode9 components/sync/core/sync_features.cc:9: const base::Feature kFillPasswordMetadata{"PasswordMetadataFilling", nit: Add comment describing what ...
4 years, 2 months ago (2016-10-04 20:58:12 UTC) #50
melandory
https://codereview.chromium.org/2294913009/diff/180001/components/sync/core/sync_features.cc File components/sync/core/sync_features.cc (right): https://codereview.chromium.org/2294913009/diff/180001/components/sync/core/sync_features.cc#newcode9 components/sync/core/sync_features.cc:9: const base::Feature kFillPasswordMetadata{"PasswordMetadataFilling", On 2016/10/04 20:58:11, Nicolas Zea wrote: ...
4 years, 2 months ago (2016-10-18 08:35:20 UTC) #55
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/2294913009/220001
4 years, 2 months ago (2016-10-18 08:35:45 UTC) #58
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/88519) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 2 months ago (2016-10-18 08:37:35 UTC) #60
melandory
Nicolas, can you check that components/sync/base is the right place for sync_feature?
4 years, 1 month ago (2016-10-24 14:12:08 UTC) #69
Nicolas Zea
yep, LGTM (+max just in case though)
4 years, 1 month ago (2016-10-24 16:25:44 UTC) #71
maxbogue
sync_features being in base/ lgtm. The only other place we have for them right now ...
4 years, 1 month ago (2016-10-24 17:04:35 UTC) #72
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/2294913009/260001
4 years, 1 month ago (2016-10-25 13:13:24 UTC) #74
commit-bot: I haz the power
Committed patchset #11 (id:260001)
4 years, 1 month ago (2016-10-25 14:03:36 UTC) #76
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 14:06:11 UTC) #78
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/72e34aa0b649fb40e03bc171da020bb4e9ccdef6
Cr-Commit-Position: refs/heads/master@{#427336}

Powered by Google App Engine
This is Rietveld 408576698