Chromium Code Reviews| Index: sync/engine/syncer.h |
| diff --git a/sync/engine/syncer.h b/sync/engine/syncer.h |
| index 225b4e3c8f04bb1f065f8ee665fa8a2f705ee3e9..d2b98aec5a392dcd3822319b73e171e5d8e25f57 100644 |
| --- a/sync/engine/syncer.h |
| +++ b/sync/engine/syncer.h |
| @@ -22,6 +22,8 @@ |
| namespace syncer { |
| class CancelationSignal; |
| +class CommitProcessor; |
| +class GetUpdatesProcessor; |
| // A Syncer provides a control interface for driving the sync cycle. These |
| // cycles consist of downloading updates, parsing the response (aka. process |
| @@ -69,10 +71,12 @@ class SYNC_EXPORT_PRIVATE Syncer { |
| sessions::SyncSession* session); |
| private: |
| - void ApplyUpdates(sessions::SyncSession* session); |
| + void ApplyUpdates(sessions::SyncSession* session, |
| + GetUpdatesProcessor* get_updates_processor); |
| bool DownloadAndApplyUpdates( |
| ModelTypeSet request_types, |
| sessions::SyncSession* session, |
| + GetUpdatesProcessor* get_updates_processor, |
| base::Callback<void(sync_pb::ClientToServerMessage*)> build_fn); |
| // This function will commit batches of unsynced items to the server until the |
| @@ -81,7 +85,8 @@ class SYNC_EXPORT_PRIVATE Syncer { |
| // abort any blocking operations. |
| SyncerError BuildAndPostCommits( |
| ModelTypeSet request_types, |
| - sessions::SyncSession* session); |
| + sessions::SyncSession* session, |
| + CommitProcessor* committer_list); |
|
Nicolas Zea
2014/01/16 21:08:26
update name
rlarocque
2014/01/16 21:51:29
Done.
|
| void HandleCycleBegin(sessions::SyncSession* session); |
| bool HandleCycleEnd( |