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_WRITE_TRANSACTION_H_ | 5 #ifndef COMPONENTS_SYNC_SYNCABLE_WRITE_TRANSACTION_H_ |
6 #define COMPONENTS_SYNC_CORE_WRITE_TRANSACTION_H_ | 6 #define COMPONENTS_SYNC_SYNCABLE_WRITE_TRANSACTION_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "components/sync/core/base_transaction.h" | |
16 #include "components/sync/model/sync_change_processor.h" | 15 #include "components/sync/model/sync_change_processor.h" |
| 16 #include "components/sync/syncable/base_transaction.h" |
17 | 17 |
18 namespace tracked_objects { | 18 namespace tracked_objects { |
19 class Location; | 19 class Location; |
20 } // namespace tracked_objects | 20 } // namespace tracked_objects |
21 | 21 |
22 namespace syncer { | 22 namespace syncer { |
23 | 23 |
24 namespace syncable { | 24 namespace syncable { |
25 class BaseTransaction; | 25 class BaseTransaction; |
26 class WriteTransaction; | 26 class WriteTransaction; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 void* operator new(size_t size); // Transaction is meant for stack use only. | 72 void* operator new(size_t size); // Transaction is meant for stack use only. |
73 | 73 |
74 // The underlying syncable object which this class wraps. | 74 // The underlying syncable object which this class wraps. |
75 syncable::WriteTransaction* transaction_; | 75 syncable::WriteTransaction* transaction_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(WriteTransaction); | 77 DISALLOW_COPY_AND_ASSIGN(WriteTransaction); |
78 }; | 78 }; |
79 | 79 |
80 } // namespace syncer | 80 } // namespace syncer |
81 | 81 |
82 #endif // COMPONENTS_SYNC_CORE_WRITE_TRANSACTION_H_ | 82 #endif // COMPONENTS_SYNC_SYNCABLE_WRITE_TRANSACTION_H_ |
OLD | NEW |