#ifndef SYNC_SYNCABLE_SYNCABLE_BASE_WRITE_TRANSACTION_H_
#define SYNC_SYNCABLE_SYNCABLE_BASE_WRITE_TRANSACTION_H_
#include "sync/base/sync_export.h"
#include "sync/syncable/syncable_base_transaction.h"
namespace syncer {
namespace syncable {
class SYNC_EXPORT BaseWriteTransaction : public BaseTransaction {
public:
virtual void TrackChangesTo(const EntryKernel* entry) = 0;
protected:
BaseWriteTransaction(
const tracked_objects::Location location,
const char* name,
WriterTag writer,
Directory* directory);
virtual ~BaseWriteTransaction();
private:
DISALLOW_COPY_AND_ASSIGN(BaseWriteTransaction);
};
}
}
#endif