| OLD | NEW |
| 1 // Copyright 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_SYNCABLE_BASE_TRANSACTION_H_ | 5 #ifndef SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_ |
| 6 #define SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_ | 6 #define SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/location.h" | 10 #include "base/location.h" |
| 11 #include "base/macros.h" |
| 11 #include "sync/base/sync_export.h" | 12 #include "sync/base/sync_export.h" |
| 12 #include "sync/syncable/syncable_id.h" | 13 #include "sync/syncable/syncable_id.h" |
| 13 | 14 |
| 14 namespace syncer { | 15 namespace syncer { |
| 15 namespace syncable { | 16 namespace syncable { |
| 16 | 17 |
| 17 class Directory; | 18 class Directory; |
| 18 | 19 |
| 19 // A WriteTransaction has a writer tag describing which body of code is doing | 20 // A WriteTransaction has a writer tag describing which body of code is doing |
| 20 // the write. This is defined up here since WriteTransactionInfo also contains | 21 // the write. This is defined up here since WriteTransactionInfo also contains |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 79 |
| 79 private: | 80 private: |
| 80 friend class Entry; | 81 friend class Entry; |
| 81 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); | 82 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); |
| 82 }; | 83 }; |
| 83 | 84 |
| 84 } // namespace syncable | 85 } // namespace syncable |
| 85 } // namespace syncer | 86 } // namespace syncer |
| 86 | 87 |
| 87 #endif // SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_ | 88 #endif // SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_ |
| OLD | NEW |