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

Issue 1918923002: [Sync] USS: Ignore encryption changes during conflict resolution 1/2 (Closed)

Created:
4 years, 8 months ago by maxbogue
Modified:
4 years, 7 months ago
Reviewers:
skym, pavely
CC:
chromium-reviews, albertb+watch_chromium.org, sync-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] USS: Ignore encryption changes during conflict resolution 1/2 This change introduces the base_specifics_hash field of EntityMetadata and uses it to detect local and remote encryption changes that can be ignored during conflict resolution. Part 2 will plumb the specifics_hash through the worker and commit contribution so it can be returned in the CommitResponseData. BUG=605708 Committed: https://crrev.com/b964f3529773bd679d5604ac83f4ed367a60bb2c Cr-Commit-Position: refs/heads/master@{#390133}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -63 lines) Patch
M sync/api/conflict_resolution.h View 1 chunk +2 lines, -0 lines 0 comments Download
M sync/internal_api/processor_entity_tracker.cc View 5 chunks +37 lines, -19 lines 0 comments Download
M sync/internal_api/processor_entity_tracker_unittest.cc View 1 4 chunks +36 lines, -14 lines 0 comments Download
M sync/internal_api/public/non_blocking_sync_common.h View 1 chunk +3 lines, -0 lines 0 comments Download
M sync/internal_api/public/non_blocking_sync_common.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M sync/internal_api/public/processor_entity_tracker.h View 1 4 chunks +12 lines, -8 lines 0 comments Download
M sync/internal_api/shared_model_type_processor.cc View 5 chunks +41 lines, -22 lines 0 comments Download
M sync/internal_api/shared_model_type_processor_unittest.cc View 1 chunk +45 lines, -0 lines 0 comments Download
M sync/protocol/entity_metadata.proto View 1 chunk +6 lines, -0 lines 0 comments Download
M sync/test/engine/mock_model_type_worker.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
maxbogue
PTAL!
4 years, 8 months ago (2016-04-26 16:42:40 UTC) #3
pavely
lgtm with comment. https://codereview.chromium.org/1918923002/diff/1/sync/internal_api/processor_entity_tracker_unittest.cc File sync/internal_api/processor_entity_tracker_unittest.cc (right): https://codereview.chromium.org/1918923002/diff/1/sync/internal_api/processor_entity_tracker_unittest.cc#newcode42 sync/internal_api/processor_entity_tracker_unittest.cc:42: } nit: new line before second ...
4 years, 8 months ago (2016-04-26 20:59:39 UTC) #4
maxbogue
https://codereview.chromium.org/1918923002/diff/1/sync/internal_api/processor_entity_tracker_unittest.cc File sync/internal_api/processor_entity_tracker_unittest.cc (right): https://codereview.chromium.org/1918923002/diff/1/sync/internal_api/processor_entity_tracker_unittest.cc#newcode42 sync/internal_api/processor_entity_tracker_unittest.cc:42: } On 2016/04/26 20:59:39, pavely wrote: > nit: new ...
4 years, 7 months ago (2016-04-27 17:28:53 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1918923002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1918923002/20001
4 years, 7 months ago (2016-04-27 17:30:10 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-04-27 18:24:44 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/b964f3529773bd679d5604ac83f4ed367a60bb2c Cr-Commit-Position: refs/heads/master@{#390133}
4 years, 7 months ago (2016-04-30 17:11:26 UTC) #11
skym
lgtm
4 years, 7 months ago (2016-05-04 14:48:04 UTC) #13
skym
4 years, 7 months ago (2016-05-04 14:48:26 UTC) #14
Message was sent while issue was closed.
On 2016/05/04 14:48:04, skym wrote:
> lgtm

Whoops, wrong CL.

Powered by Google App Engine
This is Rietveld 408576698