#ifndef SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_
#define SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_
#include "sync/syncable/entry_kernel.h"
#include "sync/syncable/syncable_base_transaction.h"
namespace syncer {
namespace syncable {
struct WriteTransactionInfo {
WriteTransactionInfo(int64 id,
tracked_objects::Location location,
WriterTag writer,
ImmutableEntryKernelMutationMap mutations);
WriteTransactionInfo();
~WriteTransactionInfo();
base::DictionaryValue* ToValue(size_t max_mutations_size) const;
int64 id;
std::string location_string;
WriterTag writer;
ImmutableEntryKernelMutationMap mutations;
};
typedef
Immutable<WriteTransactionInfo>
ImmutableWriteTransactionInfo;
}
}
#endif