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

Issue 2910993002: [sync] Pull the Sieve implementation from FakeServer to LoopbackServer. (Closed)

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

Description

[sync] Pull the Sieve implementation from FakeServer to LoopbackServer. This is a clone of https://codereview.chromium.org/2564663003 in preparation for replacing the FakeServer impl with the LoopbackServer. It should also improve the loopack server main purpose. Original description of the clonned CL: "Fake server now updates each model type's progress markers independently. Previously the fake server used to update all of the progress markers to the highest single version of an entity being returned in a GetUpdates response. This caused odd behaviors when clients asked for different sets of model types. This in turn resulted in tests failing when they never agreed on some progress marker's version that wasn't actually being actively updated. This change separates all model types version/progress markers in the fake server code. This should help clients that are being enabled mid-test to get match progress markers when priority and non-priority types are requested across separate GetUpdates messages. Also removed some special case logic around filtering deleted items. It is unclear what purpose that logic was serving." BUG=651415 TEST=components_unittests, browser_tests Review-Url: https://codereview.chromium.org/2910993002 Cr-Commit-Position: refs/heads/master@{#475859} Committed: https://chromium.googlesource.com/chromium/src/+/092f21a0129935b175abf418e957e3b644bc23d3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -77 lines) Patch
M components/sync/engine_impl/loopback_server/loopback_server.cc View 6 chunks +58 lines, -77 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (8 generated)
pastarmovj
Hi, please review this CL which pulls your improved impl from the FakeServer class into ...
3 years, 6 months ago (2017-05-29 13:28:14 UTC) #4
skym
lgtm, but, you should probably add a unit tests as part of this CL, since ...
3 years, 6 months ago (2017-05-30 15:56:58 UTC) #7
pastarmovj
On 2017/05/30 15:56:58, skym wrote: > lgtm, but, you should probably add a unit tests ...
3 years, 6 months ago (2017-05-31 08:48:38 UTC) #8
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/2910993002/1
3 years, 6 months ago (2017-05-31 08:51:29 UTC) #10
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 09:52:24 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/092f21a0129935b175abf418e957...

Powered by Google App Engine
This is Rietveld 408576698