| Index: sync/internal_api/public/shared_model_type_processor.h
|
| diff --git a/sync/internal_api/public/shared_model_type_processor.h b/sync/internal_api/public/shared_model_type_processor.h
|
| index db208708111363b1ebae08d107db1a7c67f63bc6..b8ad8eb8906542b13ded7dc4ded3bb02416f5b35 100644
|
| --- a/sync/internal_api/public/shared_model_type_processor.h
|
| +++ b/sync/internal_api/public/shared_model_type_processor.h
|
| @@ -38,15 +38,6 @@ class SYNC_EXPORT SharedModelTypeProcessor : public ModelTypeProcessor,
|
| SharedModelTypeProcessor(syncer::ModelType type, ModelTypeService* service);
|
| ~SharedModelTypeProcessor() override;
|
|
|
| - typedef base::Callback<void(syncer::SyncError, scoped_ptr<ActivationContext>)>
|
| - StartCallback;
|
| -
|
| - // Called by the DataTypeController to gather additional information needed
|
| - // before a CommitQueue object can be created for this model type. Once the
|
| - // metadata has been loaded, the info is collected and given to |callback|.
|
| - // Once called, this can only be called again if sync is disconnected.
|
| - void OnSyncStarting(StartCallback callback);
|
| -
|
| // Disconnect this processor from the sync engine. Change metadata will
|
| // continue being processed and persisted, but no commits can be made until
|
| // the next time sync is connected.
|
| @@ -72,6 +63,7 @@ class SYNC_EXPORT SharedModelTypeProcessor : public ModelTypeProcessor,
|
| void Delete(const std::string& client_tag,
|
| MetadataChangeList* metadata_change_list) override;
|
| void OnMetadataLoaded(scoped_ptr<MetadataBatch> batch) override;
|
| + void OnSyncStarting(const StartCallback& callback) override;
|
|
|
| // Returns the long-lived WeakPtr that is intended to be registered with the
|
| // ProfileSyncService.
|
|
|