|
[Sync] Add support for server controlled nudge delays
Server nudge delays override the local ones, but must be longer than the
default nudge delay. If set to 0, will reset the nudge to the default.
To accomplish this the delay logic was refactored and moved into the sync
scheduler, which is now aware of all delays for all types and sync cycles.
BUG= 401600
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291512
Total comments: 14
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+389 lines, -341 lines) |
Patch |
 |
M |
sync/engine/sync_scheduler.h
|
View
|
|
4 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sync/engine/sync_scheduler_impl.h
|
View
|
1
2
3
|
4 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
 |
M |
sync/engine/sync_scheduler_impl.cc
|
View
|
1
2
3
4
5
|
11 chunks |
+30 lines, -39 lines |
0 comments
|
Download
|
 |
M |
sync/engine/sync_scheduler_unittest.cc
|
View
|
1
2
|
38 chunks |
+60 lines, -90 lines |
0 comments
|
Download
|
 |
M |
sync/engine/syncer_proto_util.cc
|
View
|
1
2
|
2 chunks |
+20 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/engine/syncer_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+47 lines, -30 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+1 line, -108 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/sync_manager_impl_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
M |
sync/protocol/client_commands.proto
|
View
|
1
2
|
3 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/data_type_tracker.h
|
View
|
1
2
3
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/sessions/data_type_tracker.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/sessions/nudge_tracker.h
|
View
|
1
2
3
|
4 chunks |
+21 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/nudge_tracker.cc
|
View
|
1
2
3
4
|
3 chunks |
+87 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/nudge_tracker_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/sync_session.h
|
View
|
1
2
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/test_util.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/test/engine/fake_sync_scheduler.h
|
View
|
1
2
|
3 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
sync/test/engine/fake_sync_scheduler.cc
|
View
|
1
2
|
3 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|