|
sync: Implement per-type update processing
Introduces a new class that represents a syncable::Directory's udpate
requesting and processing capabilities. The intention is that this will
eventually be expanded to cover commits as well. Eventually, this will
be used as the basis for an interface between sync and
Some update logic has been moved into this SyncDirectoryUpdateHandler
class or download.cc. The rest of it can be found in
process_update_util.cc, the successor to the old ProcessUpdatesCommand.
The StoreTimestampsCommand has been entirely removed. The unit tests
associated with these SyncerCommands have been ported to
sync_directory_update_handler_unittest.cc.
Except for a few error scenarios that are now handled differently, the
observable behavior of the client should not be changed by this CL.
BUG= 278484
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231878
Total comments: 1
Total comments: 30
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+630 lines, -904 lines) |
Patch |
 |
M |
sync/engine/download.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/engine/download.cc
|
View
|
1
2
3
4
5
|
9 chunks |
+120 lines, -32 lines |
0 comments
|
Download
|
 |
D |
sync/engine/process_updates_command.h
|
View
|
|
1 chunk |
+0 lines, -67 lines |
0 comments
|
Download
|
 |
D |
sync/engine/process_updates_command.cc
|
View
|
|
1 chunk |
+0 lines, -348 lines |
0 comments
|
Download
|
 |
D |
sync/engine/process_updates_command_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -173 lines |
0 comments
|
Download
|
 |
A |
sync/engine/process_updates_util.h
|
View
|
1
2
3
|
1 chunk |
+73 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
sync/engine/process_updates_util.cc
|
View
|
1
2
3
|
6 chunks |
+44 lines, -63 lines |
0 comments
|
Download
|
 |
D |
sync/engine/store_timestamps_command.h
|
View
|
|
1 chunk |
+0 lines, -56 lines |
0 comments
|
Download
|
 |
D |
sync/engine/store_timestamps_command.cc
|
View
|
|
1 chunk |
+0 lines, -63 lines |
0 comments
|
Download
|
 |
D |
sync/engine/store_timestamps_command_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -83 lines |
0 comments
|
Download
|
 |
A |
sync/engine/sync_directory_update_handler.h
|
View
|
1
2
3
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/engine/sync_directory_update_handler.cc
|
View
|
1
2
3
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
 |
A |
sync/engine/sync_directory_update_handler_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+211 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/engine/syncer.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
sync/engine/syncer.cc
|
View
|
|
4 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/engine/syncer_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
sync/sessions/sync_session_context.h
|
View
|
1
2
3
4
5
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/sessions/sync_session_context.cc
|
View
|
|
2 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/sync_core.gypi
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
sync/sync_tests.gypi
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
sync/test/engine/mock_connection_manager.cc
|
View
|
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
sync/tools/testserver/chromiumsync.py
|
View
|
1
2
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|