| Index: sync/api/syncable_service.h
|
| diff --git a/sync/api/syncable_service.h b/sync/api/syncable_service.h
|
| index f83a017c2da14f1fa08f96b4bcdcc9b760d1c876..0d5aae4c5b534a1b9244e755b681c712274fd94b 100644
|
| --- a/sync/api/syncable_service.h
|
| +++ b/sync/api/syncable_service.h
|
| @@ -66,15 +66,16 @@ class SYNC_EXPORT SyncableService
|
| SyncError ProcessSyncChanges(const tracked_objects::Location& from_here,
|
| const SyncChangeList& change_list) override = 0;
|
|
|
| - // Returns AttachmentStore used by datatype. Attachment store is used by sync
|
| - // when uploading or downloading attachments.
|
| + // Returns AttachmentStore for use by sync when uploading or downloading
|
| + // attachments.
|
| // GetAttachmentStore is called right before MergeDataAndStartSyncing. If at
|
| // that time GetAttachmentStore returns NULL then datatype is considered not
|
| // using attachments and all attempts to upload/download attachments will
|
| // fail. Default implementation returns NULL. Datatype that uses sync
|
| - // attachemnts should create attachment store and implement GetAttachmentStore
|
| - // to return pointer to it.
|
| - virtual scoped_refptr<AttachmentStore> GetAttachmentStore();
|
| + // attachments should create attachment store, implement GetAttachmentStore
|
| + // to return result of AttachmentStore::CreateAttachmentStoreForSync() from
|
| + // attachment store object.
|
| + virtual scoped_ptr<AttachmentStore> GetAttachmentStoreForSync();
|
|
|
| // Called by sync to provide AttachmentService to be used to download
|
| // attachments.
|
|
|