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

Issue 2522633004: Add LazySyncableAdapter (Closed)

Created:
4 years, 1 month ago by steimel
Modified:
4 years ago
Reviewers:
scf, Kevin M, Wez, CJ
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, bgoldman+watch-blimp_chromium.org, steimel+watch-blimp_chromium.org, gcasto+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, perumaal+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org, scf+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add LazySyncableAdapter The LazySyncableAdapter is used to wrap LazySyncables of any changeset type into a LazySyncable with a string changeset by serializing the changesets into a string and parsing them from strings. That way, ObjectSyncState can just work with LazySyncables of type string. BUG=663065 Committed: https://crrev.com/cfafbc577a940d5891487741aa0408497749fb57 Cr-Commit-Position: refs/heads/master@{#436137}

Patch Set 1 #

Total comments: 11

Patch Set 2 : scf feedback #

Total comments: 10

Patch Set 3 : kmarshall feedback #

Total comments: 4

Patch Set 4 : minor cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -0 lines) Patch
M blimp/helium/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
A blimp/helium/lazy_syncable_adapter.h View 1 2 1 chunk +116 lines, -0 lines 0 comments Download
A blimp/helium/lazy_syncable_adapter_unittest.cc View 1 2 3 1 chunk +135 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
steimel
PTAL
4 years, 1 month ago (2016-11-22 20:11:22 UTC) #3
scf
https://codereview.chromium.org/2522633004/diff/1/blimp/helium/lazy_syncable_adapter.h File blimp/helium/lazy_syncable_adapter.h (right): https://codereview.chromium.org/2522633004/diff/1/blimp/helium/lazy_syncable_adapter.h#newcode41 blimp/helium/lazy_syncable_adapter.h:41: explicit LazySyncableAdapter(LazySyncable<ChangesetType>* object) nit: rename to inner_syncable_ ? https://codereview.chromium.org/2522633004/diff/1/blimp/helium/lazy_syncable_adapter.h#newcode50 ...
4 years, 1 month ago (2016-11-22 23:35:23 UTC) #8
steimel
PTAL https://codereview.chromium.org/2522633004/diff/1/blimp/helium/lazy_syncable_adapter.h File blimp/helium/lazy_syncable_adapter.h (right): https://codereview.chromium.org/2522633004/diff/1/blimp/helium/lazy_syncable_adapter.h#newcode41 blimp/helium/lazy_syncable_adapter.h:41: explicit LazySyncableAdapter(LazySyncable<ChangesetType>* object) On 2016/11/22 23:35:23, scf wrote: ...
4 years ago (2016-11-23 15:56:43 UTC) #10
CJ
https://codereview.chromium.org/2522633004/diff/1/blimp/helium/lazy_syncable_adapter.h File blimp/helium/lazy_syncable_adapter.h (right): https://codereview.chromium.org/2522633004/diff/1/blimp/helium/lazy_syncable_adapter.h#newcode21 blimp/helium/lazy_syncable_adapter.h:21: std::unique_ptr<ChangesetType> ParseChangesetFromString( Just curious, why is this function in ...
4 years ago (2016-11-23 22:39:28 UTC) #11
steimel
https://codereview.chromium.org/2522633004/diff/1/blimp/helium/lazy_syncable_adapter.h File blimp/helium/lazy_syncable_adapter.h (right): https://codereview.chromium.org/2522633004/diff/1/blimp/helium/lazy_syncable_adapter.h#newcode21 blimp/helium/lazy_syncable_adapter.h:21: std::unique_ptr<ChangesetType> ParseChangesetFromString( On 2016/11/23 22:39:27, CJ wrote: > Just ...
4 years ago (2016-11-28 17:19:26 UTC) #12
CJ
https://codereview.chromium.org/2522633004/diff/1/blimp/helium/lazy_syncable_adapter.h File blimp/helium/lazy_syncable_adapter.h (right): https://codereview.chromium.org/2522633004/diff/1/blimp/helium/lazy_syncable_adapter.h#newcode21 blimp/helium/lazy_syncable_adapter.h:21: std::unique_ptr<ChangesetType> ParseChangesetFromString( On 2016/11/28 17:19:26, steimel wrote: > On ...
4 years ago (2016-11-28 19:41:15 UTC) #13
Kevin M
https://codereview.chromium.org/2522633004/diff/20001/blimp/helium/lazy_syncable_adapter.h File blimp/helium/lazy_syncable_adapter.h (right): https://codereview.chromium.org/2522633004/diff/20001/blimp/helium/lazy_syncable_adapter.h#newcode21 blimp/helium/lazy_syncable_adapter.h:21: std::unique_ptr<ChangesetType> ParseChangesetFromString( Anonymous namespaced functions in the .h aren't ...
4 years ago (2016-12-02 18:28:03 UTC) #14
steimel
PTAL https://codereview.chromium.org/2522633004/diff/20001/blimp/helium/lazy_syncable_adapter.h File blimp/helium/lazy_syncable_adapter.h (right): https://codereview.chromium.org/2522633004/diff/20001/blimp/helium/lazy_syncable_adapter.h#newcode21 blimp/helium/lazy_syncable_adapter.h:21: std::unique_ptr<ChangesetType> ParseChangesetFromString( On 2016/12/02 18:28:03, Kevin M wrote: ...
4 years ago (2016-12-03 00:29:41 UTC) #15
Kevin M
lgtm https://codereview.chromium.org/2522633004/diff/40001/blimp/helium/lazy_syncable_adapter_unittest.cc File blimp/helium/lazy_syncable_adapter_unittest.cc (right): https://codereview.chromium.org/2522633004/diff/40001/blimp/helium/lazy_syncable_adapter_unittest.cc#newcode10 blimp/helium/lazy_syncable_adapter_unittest.cc:10: #include "base/bind_helpers.h" Not used? https://codereview.chromium.org/2522633004/diff/40001/blimp/helium/lazy_syncable_adapter_unittest.cc#newcode25 blimp/helium/lazy_syncable_adapter_unittest.cc:25: constexpr Revision ...
4 years ago (2016-12-03 00:35:01 UTC) #16
steimel
https://codereview.chromium.org/2522633004/diff/40001/blimp/helium/lazy_syncable_adapter_unittest.cc File blimp/helium/lazy_syncable_adapter_unittest.cc (right): https://codereview.chromium.org/2522633004/diff/40001/blimp/helium/lazy_syncable_adapter_unittest.cc#newcode10 blimp/helium/lazy_syncable_adapter_unittest.cc:10: #include "base/bind_helpers.h" On 2016/12/03 00:35:01, Kevin M wrote: > ...
4 years ago (2016-12-03 00:41:05 UTC) #17
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/2522633004/60001
4 years ago (2016-12-03 00:42:18 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-03 01:47:35 UTC) #23
commit-bot: I haz the power
4 years ago (2016-12-03 01:50:20 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cfafbc577a940d5891487741aa0408497749fb57
Cr-Commit-Position: refs/heads/master@{#436137}

Powered by Google App Engine
This is Rietveld 408576698