OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SYNCABLE_MODEL_NEUTRAL_WRITE_TRANSACTION_H_ | 5 #ifndef SYNC_SYNCABLE_SYNCABLE_MODEL_NEUTRAL_WRITE_TRANSACTION_H_ |
6 #define SYNC_SYNCABLE_SYNCABLE_MODEL_NEUTRAL_WRITE_TRANSACTION_H_ | 6 #define SYNC_SYNCABLE_SYNCABLE_MODEL_NEUTRAL_WRITE_TRANSACTION_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "sync/base/sync_export.h" | 9 #include "sync/base/sync_export.h" |
9 #include "sync/syncable/metahandle_set.h" | 10 #include "sync/syncable/metahandle_set.h" |
10 #include "sync/syncable/syncable_base_write_transaction.h" | 11 #include "sync/syncable/syncable_base_write_transaction.h" |
11 | 12 |
12 namespace syncer { | 13 namespace syncer { |
13 namespace syncable { | 14 namespace syncable { |
14 | 15 |
15 // A transaction used to instantiate Entries or ModelNeutralMutableEntries. | 16 // A transaction used to instantiate Entries or ModelNeutralMutableEntries. |
16 // | 17 // |
17 // This allows it to be used when making changes to sync entity properties that | 18 // This allows it to be used when making changes to sync entity properties that |
(...skipping 16 matching lines...) Expand all Loading... |
34 private: | 35 private: |
35 MetahandleSet modified_handles_; | 36 MetahandleSet modified_handles_; |
36 | 37 |
37 DISALLOW_COPY_AND_ASSIGN(ModelNeutralWriteTransaction); | 38 DISALLOW_COPY_AND_ASSIGN(ModelNeutralWriteTransaction); |
38 }; | 39 }; |
39 | 40 |
40 } // namespace syncable | 41 } // namespace syncable |
41 } // namespace syncer | 42 } // namespace syncer |
42 | 43 |
43 #endif // SYNC_SYNCABLE_SYNCABLE_MODEL_NEUTRAL_WRITE_TRANSACTION_H_ | 44 #endif // SYNC_SYNCABLE_SYNCABLE_MODEL_NEUTRAL_WRITE_TRANSACTION_H_ |
OLD | NEW |