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

Issue 2353353004: [Sync] Misc ModelTypeWorker improvements. (Closed)

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

Description

[Sync] Misc ModelTypeWorker improvements. - Remove IsEncryptionRequired and just use cryptographer_ instead. - Use ThreadChecker instead of NonThreadSafe. - Tweak some comments. - Simplify (without changing) the encryption handling logic in ProcessGetUpdatesResponse. - Make DecryptSpecifics not static so the cryptographer doesn't need to be passed in. BUG=648705 Committed: https://crrev.com/624769f8846b21df41108794722d21aa9f82e2fa Cr-Commit-Position: refs/heads/master@{#420449}

Patch Set 1 #

Patch Set 2 : Couple more comment tweaks. #

Total comments: 2

Patch Set 3 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -61 lines) Patch
M components/sync/engine_impl/model_type_worker.h View 1 2 6 chunks +6 lines, -8 lines 0 comments Download
M components/sync/engine_impl/model_type_worker.cc View 1 19 chunks +37 lines, -53 lines 0 comments Download

Messages

Total messages: 24 (17 generated)
maxbogue
Pavel, PTAL!
4 years, 3 months ago (2016-09-22 17:26:10 UTC) #8
skym
lgtm https://codereview.chromium.org/2353353004/diff/20001/components/sync/engine_impl/model_type_worker.h File components/sync/engine_impl/model_type_worker.h (right): https://codereview.chromium.org/2353353004/diff/20001/components/sync/engine_impl/model_type_worker.h#newcode125 components/sync/engine_impl/model_type_worker.h:125: // parameter. Assumes cryptographer->CanDecrypt(specifics) returned true. cryptographer_ ?
4 years, 3 months ago (2016-09-22 17:37:54 UTC) #10
pavely
lgtm
4 years, 3 months ago (2016-09-22 18:36:03 UTC) #13
maxbogue
https://codereview.chromium.org/2353353004/diff/20001/components/sync/engine_impl/model_type_worker.h File components/sync/engine_impl/model_type_worker.h (right): https://codereview.chromium.org/2353353004/diff/20001/components/sync/engine_impl/model_type_worker.h#newcode125 components/sync/engine_impl/model_type_worker.h:125: // parameter. Assumes cryptographer->CanDecrypt(specifics) returned true. On 2016/09/22 17:37:54, ...
4 years, 3 months ago (2016-09-22 19:49:57 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/2353353004/40001
4 years, 3 months ago (2016-09-22 19:50:46 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-22 20:42:55 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 20:46:15 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/624769f8846b21df41108794722d21aa9f82e2fa
Cr-Commit-Position: refs/heads/master@{#420449}

Powered by Google App Engine
This is Rietveld 408576698