Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: sync/api/syncable_service.h

Issue 1002263005: [Sync] Introduce AttachmentStoreForSync class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/api/fake_syncable_service.cc ('k') | sync/api/syncable_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/syncable_service.h
diff --git a/sync/api/syncable_service.h b/sync/api/syncable_service.h
index 0d5aae4c5b534a1b9244e755b681c712274fd94b..a6f8b813977586cd908470618129bdd61e6f58fe 100644
--- a/sync/api/syncable_service.h
+++ b/sync/api/syncable_service.h
@@ -68,14 +68,15 @@ class SYNC_EXPORT SyncableService
// 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
- // attachments should create attachment store, implement GetAttachmentStore
- // to return result of AttachmentStore::CreateAttachmentStoreForSync() from
- // attachment store object.
- virtual scoped_ptr<AttachmentStore> GetAttachmentStoreForSync();
+ // GetAttachmentStoreForSync is called right before MergeDataAndStartSyncing.
+ // If at that time GetAttachmentStoreForSync 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 attachments should create attachment store, implement
+ // GetAttachmentStoreForSync to return result of
+ // AttachmentStore::CreateAttachmentStoreForSync() from attachment store
+ // object.
+ virtual scoped_ptr<AttachmentStoreForSync> GetAttachmentStoreForSync();
// Called by sync to provide AttachmentService to be used to download
// attachments.
« no previous file with comments | « sync/api/fake_syncable_service.cc ('k') | sync/api/syncable_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698