summaryrefslogtreecommitdiffstats
path: root/sync/api/fake_syncable_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'sync/api/fake_syncable_service.h')
-rw-r--r--sync/api/fake_syncable_service.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sync/api/fake_syncable_service.h b/sync/api/fake_syncable_service.h
index 9b75647..7403ef3 100644
--- a/sync/api/fake_syncable_service.h
+++ b/sync/api/fake_syncable_service.h
@@ -23,7 +23,8 @@ class FakeSyncableService : public SyncableService {
void set_process_sync_changes_error(const SyncError& error);
// Setter for AttachmentStore.
- void set_attachment_store(scoped_ptr<AttachmentStore> attachment_store);
+ void set_attachment_store(
+ const scoped_refptr<AttachmentStore>& attachment_store);
// AttachmentService should be set when this syncable service is connected,
// just before MergeDataAndStartSyncing. NULL is returned by default.
@@ -43,7 +44,7 @@ class FakeSyncableService : public SyncableService {
SyncDataList GetAllSyncData(ModelType type) const override;
SyncError ProcessSyncChanges(const tracked_objects::Location& from_here,
const SyncChangeList& change_list) override;
- scoped_ptr<AttachmentStore> GetAttachmentStoreForSync() override;
+ scoped_refptr<AttachmentStore> GetAttachmentStore() override;
void SetAttachmentService(
scoped_ptr<AttachmentService> attachment_service) override;
@@ -53,7 +54,7 @@ class FakeSyncableService : public SyncableService {
SyncError process_sync_changes_error_;
bool syncing_;
ModelType type_;
- scoped_ptr<AttachmentStore> attachment_store_;
+ scoped_refptr<AttachmentStore> attachment_store_;
scoped_ptr<AttachmentService> attachment_service_;
};