Index: sync/api/fake_sync_change_processor.h |
diff --git a/sync/api/fake_sync_change_processor.h b/sync/api/fake_sync_change_processor.h |
index 7ec8084199f32eb2a233c0c90ea91c620de2b9b3..d844493893c615bec4607efebafd2917430fe623 100644 |
--- a/sync/api/fake_sync_change_processor.h |
+++ b/sync/api/fake_sync_change_processor.h |
@@ -14,12 +14,27 @@ class FakeSyncChangeProcessor : public SyncChangeProcessor { |
FakeSyncChangeProcessor(); |
virtual ~FakeSyncChangeProcessor(); |
+ // SyncChangeProcessor implementation. |
+ // |
+ // ProcessSyncChanges will accumulate changes in changes() until they are |
+ // cleared. |
virtual syncer::SyncError ProcessSyncChanges( |
const tracked_objects::Location& from_here, |
const syncer::SyncChangeList& change_list) OVERRIDE; |
+ // SyncChangeProcessor implementation. |
+ // |
+ // Returns an empty list. |
virtual syncer::SyncDataList GetAllSyncData(syncer::ModelType type) |
const OVERRIDE; |
+ |
+ virtual const syncer::SyncChangeList& changes() const; |
+ virtual syncer::SyncChangeList& changes(); |
+ |
+ private: |
+ syncer::SyncChangeList change_list_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(FakeSyncChangeProcessor); |
}; |
} // namespace syncer |