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

Issue 115243007: Basic implementation of the Sync C++ fake server (Closed)

Created:
7 years ago by pval...(no longer on Chromium)
Modified:
6 years, 11 months ago
CC:
chromium-reviews, tim+watch_chromium.org, rsimha+watch_chromium.org, haitaol+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Basic implementation of the Sync C++ fake server This CL provides just enough functionality so that PrototypeFakeServerTest will pass. BUG=323265 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245326

Patch Set 1 : #

Total comments: 57

Patch Set 2 : #

Patch Set 3 : #

Total comments: 12

Patch Set 4 : #

Patch Set 5 : factory method for UpdateSieve #

Patch Set 6 : move files #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : rebase #

Patch Set 9 : dependencies change #

Patch Set 10 : fix constant for clang #

Unified diffs Side-by-side diffs Delta from patch set Stats (+704 lines, -48 lines) Patch
A chrome/browser/sync/test/integration/prototype_fake_server_test.cc View 1 1 chunk +24 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.h View 1 2 3 4 5 6 7 4 chunks +22 lines, -8 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.cc View 1 2 3 4 5 6 7 5 chunks +49 lines, -25 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 2 chunks +10 lines, -0 lines 0 comments Download
M sync/sync_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +25 lines, -0 lines 0 comments Download
A sync/test/fake_server/fake_server.h View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download
A sync/test/fake_server/fake_server.cc View 1 2 3 4 5 6 7 8 9 1 chunk +325 lines, -0 lines 0 comments Download
A sync/test/fake_server/fake_server_http_post_provider.h View 1 2 3 4 5 1 chunk +71 lines, -0 lines 0 comments Download
A sync/test/fake_server/fake_server_http_post_provider.cc View 1 2 3 4 5 1 chunk +80 lines, -0 lines 0 comments Download
A + sync/test/fake_server/fake_server_network_resources.h View 1 2 3 4 5 2 chunks +10 lines, -7 lines 0 comments Download
A + sync/test/fake_server/fake_server_network_resources.cc View 1 2 3 4 5 1 chunk +9 lines, -8 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
pval...(no longer on Chromium)
I realize this is poor timing in sending out this CL (I'll be out of ...
7 years ago (2013-12-18 02:39:25 UTC) #1
rlarocque
Here are my initial comments. I might be misunderstanding your use of tags and ID ...
7 years ago (2013-12-18 20:22:00 UTC) #2
albertb
Some comments about fake_server.{cc,h} https://codereview.chromium.org/115243007/diff/40001/sync/internal_api/test/fake_server.cc File sync/internal_api/test/fake_server.cc (right): https://codereview.chromium.org/115243007/diff/40001/sync/internal_api/test/fake_server.cc#newcode135 sync/internal_api/test/fake_server.cc:135: Specifically, the situation when you ...
7 years ago (2013-12-18 20:45:29 UTC) #3
rlarocque
https://codereview.chromium.org/115243007/diff/40001/sync/internal_api/test/fake_server.cc File sync/internal_api/test/fake_server.cc (right): https://codereview.chromium.org/115243007/diff/40001/sync/internal_api/test/fake_server.cc#newcode191 sync/internal_api/test/fake_server.cc:191: entity.set_originator_cache_guid(original_entity.originator_cache_guid()); On 2013/12/18 20:45:30, albertb wrote: > The client ...
7 years ago (2013-12-18 21:26:49 UTC) #4
albertb
https://codereview.chromium.org/115243007/diff/40001/sync/internal_api/test/fake_server.cc File sync/internal_api/test/fake_server.cc (right): https://codereview.chromium.org/115243007/diff/40001/sync/internal_api/test/fake_server.cc#newcode191 sync/internal_api/test/fake_server.cc:191: entity.set_originator_cache_guid(original_entity.originator_cache_guid()); On 2013/12/18 21:26:49, rlarocque wrote: > On 2013/12/18 ...
7 years ago (2013-12-18 21:47:29 UTC) #5
Raghu Simha
Here are a few preliminary comments on gyp targets and nomenclature. https://codereview.chromium.org/115243007/diff/40001/chrome/browser/sync/test/integration/prototype_fake_server_test.cc File chrome/browser/sync/test/integration/prototype_fake_server_test.cc (right): ...
7 years ago (2013-12-18 22:37:12 UTC) #6
pval...(no longer on Chromium)
I didn't have enough time to address all comments, so I created an artificial stopping ...
7 years ago (2013-12-19 01:16:56 UTC) #7
pval...(no longer on Chromium)
Here are the rest of the comment responses. https://codereview.chromium.org/115243007/diff/40001/sync/internal_api/test/fake_server.cc File sync/internal_api/test/fake_server.cc (right): https://codereview.chromium.org/115243007/diff/40001/sync/internal_api/test/fake_server.cc#newcode20 sync/internal_api/test/fake_server.cc:20: static ...
6 years, 11 months ago (2014-01-03 23:25:30 UTC) #8
rlarocque
Not many comments left. https://codereview.chromium.org/115243007/diff/40001/sync/internal_api/test/fake_server.cc File sync/internal_api/test/fake_server.cc (right): https://codereview.chromium.org/115243007/diff/40001/sync/internal_api/test/fake_server.cc#newcode20 sync/internal_api/test/fake_server.cc:20: static const std::string kRootParentTag = ...
6 years, 11 months ago (2014-01-04 00:06:24 UTC) #9
albertb
https://codereview.chromium.org/115243007/diff/40001/sync/internal_api/test/fake_server.cc File sync/internal_api/test/fake_server.cc (right): https://codereview.chromium.org/115243007/diff/40001/sync/internal_api/test/fake_server.cc#newcode191 sync/internal_api/test/fake_server.cc:191: entity.set_originator_cache_guid(original_entity.originator_cache_guid()); On 2014/01/03 23:25:31, pvalenzuela wrote: > On 2013/12/18 ...
6 years, 11 months ago (2014-01-06 17:25:15 UTC) #10
pval...(no longer on Chromium)
https://codereview.chromium.org/115243007/diff/110001/sync/internal_api/test/fake_server.cc File sync/internal_api/test/fake_server.cc (right): https://codereview.chromium.org/115243007/diff/110001/sync/internal_api/test/fake_server.cc#newcode26 sync/internal_api/test/fake_server.cc:26: // A filter used during GetUpdates calls to determine ...
6 years, 11 months ago (2014-01-06 19:24:32 UTC) #11
pval...(no longer on Chromium)
friendly ping @rlarocque @albertb: Any other comments? After any further comments are resolved, I'll move ...
6 years, 11 months ago (2014-01-10 19:52:41 UTC) #12
rlarocque
https://codereview.chromium.org/115243007/diff/110001/sync/internal_api/test/fake_server.cc File sync/internal_api/test/fake_server.cc (right): https://codereview.chromium.org/115243007/diff/110001/sync/internal_api/test/fake_server.cc#newcode44 sync/internal_api/test/fake_server.cc:44: version = 0; On 2014/01/06 19:24:32, pvalenzuela wrote: > ...
6 years, 11 months ago (2014-01-10 20:09:41 UTC) #13
rlarocque
I don't think I have any big comments outstanding. It's fine with me if you ...
6 years, 11 months ago (2014-01-10 20:11:00 UTC) #14
pval...(no longer on Chromium)
I've added the UpdateSieve factory method and moved the files to sync/test/fake_server (separate patchsets). https://codereview.chromium.org/115243007/diff/110001/sync/internal_api/test/fake_server.cc ...
6 years, 11 months ago (2014-01-14 01:48:08 UTC) #15
rlarocque
I think that's the last of my comments. LGTM. https://codereview.chromium.org/115243007/diff/470001/sync/test/fake_server/fake_server.cc File sync/test/fake_server/fake_server.cc (right): https://codereview.chromium.org/115243007/diff/470001/sync/test/fake_server/fake_server.cc#newcode32 sync/test/fake_server/fake_server.cc:32: ...
6 years, 11 months ago (2014-01-14 01:53:38 UTC) #16
pval...(no longer on Chromium)
Raghu, any additional comments? https://codereview.chromium.org/115243007/diff/470001/sync/test/fake_server/fake_server.cc File sync/test/fake_server/fake_server.cc (right): https://codereview.chromium.org/115243007/diff/470001/sync/test/fake_server/fake_server.cc#newcode32 sync/test/fake_server/fake_server.cc:32: static scoped_ptr<UpdateSieve> Create( On 2014/01/14 ...
6 years, 11 months ago (2014-01-14 02:14:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pvalenzuela@chromium.org/115243007/660001
6 years, 11 months ago (2014-01-14 22:51:56 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pvalenzuela@chromium.org/115243007/660001
6 years, 11 months ago (2014-01-15 01:18:26 UTC) #19
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=106779
6 years, 11 months ago (2014-01-15 14:06:49 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pvalenzuela@chromium.org/115243007/1140001
6 years, 11 months ago (2014-01-16 01:25:57 UTC) #21
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, base_unittests_swarm http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=247086
6 years, 11 months ago (2014-01-16 08:13:39 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pvalenzuela@chromium.org/115243007/1140001
6 years, 11 months ago (2014-01-16 19:48:19 UTC) #23
commit-bot: I haz the power
6 years, 11 months ago (2014-01-16 21:26:12 UTC) #24
Message was sent while issue was closed.
Change committed as 245326

Powered by Google App Engine
This is Rietveld 408576698