| 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_INTERNAL_API_PUBLIC_WRITE_TRANSACTION_H_ | 5 #ifndef COMPONENTS_SYNC_CORE_WRITE_TRANSACTION_H_ |
| 6 #define SYNC_INTERNAL_API_PUBLIC_WRITE_TRANSACTION_H_ | 6 #define COMPONENTS_SYNC_CORE_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 "sync/api/sync_change_processor.h" | 15 #include "components/sync/api/sync_change_processor.h" |
| 16 #include "sync/base/sync_export.h" | 16 #include "components/sync/base/sync_export.h" |
| 17 #include "sync/internal_api/public/base_transaction.h" | 17 #include "components/sync/core/base_transaction.h" |
| 18 | 18 |
| 19 namespace tracked_objects { | 19 namespace tracked_objects { |
| 20 class Location; | 20 class Location; |
| 21 } // namespace tracked_objects | 21 } // namespace tracked_objects |
| 22 | 22 |
| 23 namespace syncer { | 23 namespace syncer { |
| 24 | 24 |
| 25 namespace syncable { | 25 namespace syncable { |
| 26 class BaseTransaction; | 26 class BaseTransaction; |
| 27 class WriteTransaction; | 27 class WriteTransaction; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 void* operator new(size_t size); // Transaction is meant for stack use only. | 73 void* operator new(size_t size); // Transaction is meant for stack use only. |
| 74 | 74 |
| 75 // The underlying syncable object which this class wraps. | 75 // The underlying syncable object which this class wraps. |
| 76 syncable::WriteTransaction* transaction_; | 76 syncable::WriteTransaction* transaction_; |
| 77 | 77 |
| 78 DISALLOW_COPY_AND_ASSIGN(WriteTransaction); | 78 DISALLOW_COPY_AND_ASSIGN(WriteTransaction); |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 } // namespace syncer | 81 } // namespace syncer |
| 82 | 82 |
| 83 #endif // SYNC_INTERNAL_API_PUBLIC_WRITE_TRANSACTION_H_ | 83 #endif // COMPONENTS_SYNC_CORE_WRITE_TRANSACTION_H_ |
| OLD | NEW |