#ifndef SYNC_API_FAKE_SYNC_CHANGE_PROCESSOR_H_
#define SYNC_API_FAKE_SYNC_CHANGE_PROCESSOR_H_
#include "sync/api/sync_change_processor.h"
namespace syncer {
class FakeSyncChangeProcessor : public SyncChangeProcessor {
public:
FakeSyncChangeProcessor();
virtual ~FakeSyncChangeProcessor();
virtual syncer::SyncError ProcessSyncChanges(
const tracked_objects::Location& from_here,
const syncer::SyncChangeList& change_list) OVERRIDE;
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);
};
}
#endif