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 COMPONENTS_SYNC_CORE_BASE_TRANSACTION_H_ | 5 #ifndef COMPONENTS_SYNC_SYNCABLE_BASE_TRANSACTION_H_ |
6 #define COMPONENTS_SYNC_CORE_BASE_TRANSACTION_H_ | 6 #define COMPONENTS_SYNC_SYNCABLE_BASE_TRANSACTION_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "components/sync/base/cryptographer.h" | 9 #include "components/sync/base/cryptographer.h" |
10 #include "components/sync/base/model_type.h" | 10 #include "components/sync/base/model_type.h" |
11 #include "components/sync/core/user_share.h" | 11 #include "components/sync/syncable/user_share.h" |
12 | 12 |
13 namespace syncer { | 13 namespace syncer { |
14 | 14 |
15 namespace syncable { | 15 namespace syncable { |
16 class BaseTransaction; | 16 class BaseTransaction; |
17 class Directory; | 17 class Directory; |
18 } | 18 } |
19 | 19 |
20 // Sync API's BaseTransaction, ReadTransaction, and WriteTransaction allow for | 20 // Sync API's BaseTransaction, ReadTransaction, and WriteTransaction allow for |
21 // batching of several read and/or write operations. The read and write | 21 // batching of several read and/or write operations. The read and write |
(...skipping 29 matching lines...) Expand all Loading... |
51 BaseTransaction() : user_share_(NULL) {} | 51 BaseTransaction() : user_share_(NULL) {} |
52 | 52 |
53 private: | 53 private: |
54 UserShare* user_share_; | 54 UserShare* user_share_; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); | 56 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); |
57 }; | 57 }; |
58 | 58 |
59 } // namespace syncer | 59 } // namespace syncer |
60 | 60 |
61 #endif // COMPONENTS_SYNC_CORE_BASE_TRANSACTION_H_ | 61 #endif // COMPONENTS_SYNC_SYNCABLE_BASE_TRANSACTION_H_ |
OLD | NEW |