| Index: sync/internal_api/public/model_type_processor.h
|
| diff --git a/sync/internal_api/public/model_type_processor.h b/sync/internal_api/public/model_type_processor.h
|
| index 297b48f0edc7f2ffc19ea6aab1833116e2e3da28..4ab49468b8386cd671cd821a1ba29f1e0375ae3b 100644
|
| --- a/sync/internal_api/public/model_type_processor.h
|
| +++ b/sync/internal_api/public/model_type_processor.h
|
| @@ -19,8 +19,11 @@ class SYNC_EXPORT ModelTypeProcessor {
|
| ModelTypeProcessor();
|
| virtual ~ModelTypeProcessor();
|
|
|
| - // Callback used to process the handshake response from the worker.
|
| - virtual void OnConnect(scoped_ptr<CommitQueue> commit_queue) = 0;
|
| + // Connect this processor to the sync engine via |commit_queue|. Once called,
|
| + // the processor will send any pending and future commits via this channel.
|
| + // This can only be called multiple times if the processor is disconnected
|
| + // (via the DataTypeController) in between.
|
| + virtual void ConnectSync(scoped_ptr<CommitQueue> commit_queue) = 0;
|
|
|
| // Informs this object that some of its commit requests have been
|
| // successfully serviced.
|
|
|