| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_ | 5 #ifndef SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_ |
| 6 #define SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_ | 6 #define SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_ |
| 7 | 7 |
| 8 #include "sync/syncable/base_transaction.h" | |
| 9 #include "sync/syncable/entry_kernel.h" | 8 #include "sync/syncable/entry_kernel.h" |
| 9 #include "sync/syncable/syncable_base_transaction.h" |
| 10 | 10 |
| 11 namespace syncer { | 11 namespace syncer { |
| 12 namespace syncable { | 12 namespace syncable { |
| 13 | 13 |
| 14 // A struct describing the changes made during a transaction. | 14 // A struct describing the changes made during a transaction. |
| 15 struct WriteTransactionInfo { | 15 struct WriteTransactionInfo { |
| 16 WriteTransactionInfo(int64 id, | 16 WriteTransactionInfo(int64 id, |
| 17 tracked_objects::Location location, | 17 tracked_objects::Location location, |
| 18 WriterTag writer, | 18 WriterTag writer, |
| 19 ImmutableEntryKernelMutationMap mutations); | 19 ImmutableEntryKernelMutationMap mutations); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 32 }; | 32 }; |
| 33 | 33 |
| 34 typedef | 34 typedef |
| 35 Immutable<WriteTransactionInfo> | 35 Immutable<WriteTransactionInfo> |
| 36 ImmutableWriteTransactionInfo; | 36 ImmutableWriteTransactionInfo; |
| 37 | 37 |
| 38 } // namespace syncable | 38 } // namespace syncable |
| 39 } // namespace syncer | 39 } // namespace syncer |
| 40 | 40 |
| 41 #endif // SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_ | 41 #endif // SYNC_SYNCABLE_WRITE_TRANSACTION_INFO_H_ |
| OLD | NEW |