| 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_READ_TRANSACTION_H_ | 5 #ifndef COMPONENTS_SYNC_SYNCABLE_READ_TRANSACTION_H_ |
| 6 #define COMPONENTS_SYNC_CORE_READ_TRANSACTION_H_ | 6 #define COMPONENTS_SYNC_SYNCABLE_READ_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/attachments/attachment_id.h" | 15 #include "components/sync/model/attachments/attachment_id.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 sync_pb { | 22 namespace sync_pb { |
| 23 class DataTypeContext; | 23 class DataTypeContext; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace syncer { | 26 namespace syncer { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 // The underlying syncable object which this class wraps. | 63 // The underlying syncable object which this class wraps. |
| 64 syncable::BaseTransaction* transaction_; | 64 syncable::BaseTransaction* transaction_; |
| 65 bool close_transaction_; | 65 bool close_transaction_; |
| 66 | 66 |
| 67 DISALLOW_COPY_AND_ASSIGN(ReadTransaction); | 67 DISALLOW_COPY_AND_ASSIGN(ReadTransaction); |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 } // namespace syncer | 70 } // namespace syncer |
| 71 | 71 |
| 72 #endif // COMPONENTS_SYNC_CORE_READ_TRANSACTION_H_ | 72 #endif // COMPONENTS_SYNC_SYNCABLE_READ_TRANSACTION_H_ |
| OLD | NEW |