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 COMPONENTS_SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_ |
6 #define SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_ | 6 #define COMPONENTS_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 "base/macros.h" |
12 #include "sync/base/sync_export.h" | 12 #include "components/sync/base/sync_export.h" |
13 #include "sync/syncable/syncable_id.h" | 13 #include "components/sync/syncable/syncable_id.h" |
14 | 14 |
15 namespace syncer { | 15 namespace syncer { |
16 namespace syncable { | 16 namespace syncable { |
17 | 17 |
18 class Directory; | 18 class Directory; |
19 | 19 |
20 // 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 |
21 // the write. This is defined up here since WriteTransactionInfo also contains | 21 // the write. This is defined up here since WriteTransactionInfo also contains |
22 // one. | 22 // one. |
23 enum WriterTag { | 23 enum WriterTag { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 std::string unrecoverable_error_msg_; | 78 std::string unrecoverable_error_msg_; |
79 | 79 |
80 private: | 80 private: |
81 friend class Entry; | 81 friend class Entry; |
82 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); | 82 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); |
83 }; | 83 }; |
84 | 84 |
85 } // namespace syncable | 85 } // namespace syncable |
86 } // namespace syncer | 86 } // namespace syncer |
87 | 87 |
88 #endif // SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_ | 88 #endif // COMPONENTS_SYNC_SYNCABLE_SYNCABLE_BASE_TRANSACTION_H_ |
OLD | NEW |