diff options
author | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-10 22:03:08 +0000 |
---|---|---|
committer | rlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-10 22:03:08 +0000 |
commit | 1eed4f1ce67c335929d0fda89c3e5aeefb00cde3 (patch) | |
tree | df38033e133962d5bdf5737c1b2d0e027767dfc5 /sync/sync_tests.gypi | |
parent | b9f4c684a708d9d7e2f8076beb77b3382ae75667 (diff) | |
download | chromium_src-1eed4f1ce67c335929d0fda89c3e5aeefb00cde3.zip chromium_src-1eed4f1ce67c335929d0fda89c3e5aeefb00cde3.tar.gz chromium_src-1eed4f1ce67c335929d0fda89c3e5aeefb00cde3.tar.bz2 |
sync: Support nudges from non-blocking sync types
Implements support for receiving nudges from the non-blocking sync
engine. When a non-blocking sync type requests a commit, it will also
send a request to the sync scheduler asking it to schedule
a sync cycle for some time in the future.
Adds some of the code required to support refresh requests, but does not
include an interface to allow clients of the non-blocking sync API to
access it.
Adds basic support for the initial download nudge. When a non-blocking
type starts syncing for the first time, it sends a request to the
scheduler asking it to download any data available on the server. This
allows it to complete initial sync quickly and without putting the
scheduler into configure mode. For now, this looks like
a refresh request in the sync protocol. This will be changed in
a future CL.
BUG=351005
Review URL: https://codereview.chromium.org/375023002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282439 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/sync_tests.gypi')
-rw-r--r-- | sync/sync_tests.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sync/sync_tests.gypi b/sync/sync_tests.gypi index 1b48fe4..1cff9bf 100644 --- a/sync/sync_tests.gypi +++ b/sync/sync_tests.gypi @@ -46,6 +46,8 @@ 'test/engine/mock_model_type_sync_proxy.h', 'test/engine/mock_model_type_sync_worker.cc', 'test/engine/mock_model_type_sync_worker.h', + 'test/engine/mock_nudge_handler.cc', + 'test/engine/mock_nudge_handler.h', 'test/engine/mock_update_handler.cc', 'test/engine/mock_update_handler.h', 'test/engine/single_type_mock_server.cc', |