|
sync: Support non-blocking initial sync in proto
Adds support for non-blocking initial sync to the sync protocol. This
allows some types to request an initial sync without having the
scheduler enter configure mode. The protocol changes are necessary to
keep the server informed that the request is due to an initial sync
request.
The remainder of the changes in this CL were required to plumb
information about the cause of the sync cycle through the SyncScheduler.
This CL also includes some new tests.
At the moment, there are no types in use that support this feature.
This CL will not affect behavior in any way.
BUG= 351005
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284159
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+148 lines, -4 lines) |
Patch |
 |
M |
sync/engine/get_updates_processor.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/engine/get_updates_processor_unittest.cc
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/engine/sync_scheduler.h
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/engine/sync_scheduler_impl.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/engine/sync_scheduler_impl.cc
|
View
|
|
1 chunk |
+9 lines, -0 lines |
2 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/sync.proto
|
View
|
1
|
1 chunk |
+11 lines, -0 lines |
2 comments
|
Download
|
 |
M |
sync/sessions/data_type_tracker.h
|
View
|
|
3 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/data_type_tracker.cc
|
View
|
|
6 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/nudge_tracker.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/nudge_tracker.cc
|
View
|
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/nudge_tracker_unittest.cc
|
View
|
|
3 chunks |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/test/engine/fake_sync_scheduler.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/test/engine/fake_sync_scheduler.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 18 (0 generated)
|