Use FakeServer-based invalidations for Sync tests
commit8aadf0361638727bbc0dc481e328cd8b25cf7eec
authorpvalenzuela@chromium.org <pvalenzuela@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 5 May 2014 23:23:46 +0000 (5 23:23 +0000)
committerpvalenzuela@chromium.org <pvalenzuela@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 5 May 2014 23:23:46 +0000 (5 23:23 +0000)
treec9d06cd931fa4f2204df11276fe974fb5d0332a9
parent004703acaa1942af04037cfc8f3b975c225738bc
Use FakeServer-based invalidations for Sync tests

Note: this is a second go-round for this CL. It was originally committed
as r267422 but was reverted due to a compile error in some dead code.
The dead code was deleted in https://codereview.chromium.org/264773007/
 (r267686). See https://codereview.chromium.org/234113002/ for the
original CL.

This CL creates a new InvalidationService implementation,
FakeServerInvalidationService, to remove FakeServer-based tests'
dependency on the Python XMPP server.

Another major change is that FakeServer's HandleCommand is now executed
on the UI thread and locking has been removed from FakeServer itself.

BUG=323265

Review URL: https://codereview.chromium.org/267723012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268311 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/sync/test/integration/fake_server_invalidation_service.cc [new file with mode: 0644]
chrome/browser/sync/test/integration/fake_server_invalidation_service.h [new file with mode: 0644]
chrome/browser/sync/test/integration/sync_test.cc
chrome/browser/sync/test/integration/sync_test.h
chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc
chrome/chrome_tests.gypi
sync/test/fake_server/fake_server.cc
sync/test/fake_server/fake_server.h
sync/test/fake_server/fake_server_http_post_provider.cc
sync/test/fake_server/fake_server_http_post_provider.h
sync/test/fake_server/fake_server_network_resources.cc