OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CHROME_BROWSER_SYNC_INTERNAL_API_WRITE_TRANSACTION_H_ | 5 #ifndef SYNC_INTERNAL_API_WRITE_TRANSACTION_H_ |
6 #define CHROME_BROWSER_SYNC_INTERNAL_API_WRITE_TRANSACTION_H_ | 6 #define SYNC_INTERNAL_API_WRITE_TRANSACTION_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "chrome/browser/sync/internal_api/base_transaction.h" | 10 #include "sync/internal_api/base_transaction.h" |
11 | 11 |
12 namespace syncable { | 12 namespace syncable { |
13 class BaseTransaction; | 13 class BaseTransaction; |
14 class WriteTransaction; | 14 class WriteTransaction; |
15 } // namespace syncable | 15 } // namespace syncable |
16 | 16 |
17 namespace tracked_objects { | 17 namespace tracked_objects { |
18 class Location; | 18 class Location; |
19 } // namespace tracked_objects | 19 } // namespace tracked_objects |
20 | 20 |
(...skipping 26 matching lines...) Expand all Loading... |
47 void* operator new(size_t size); // Transaction is meant for stack use only. | 47 void* operator new(size_t size); // Transaction is meant for stack use only. |
48 | 48 |
49 // The underlying syncable object which this class wraps. | 49 // The underlying syncable object which this class wraps. |
50 syncable::WriteTransaction* transaction_; | 50 syncable::WriteTransaction* transaction_; |
51 | 51 |
52 DISALLOW_COPY_AND_ASSIGN(WriteTransaction); | 52 DISALLOW_COPY_AND_ASSIGN(WriteTransaction); |
53 }; | 53 }; |
54 | 54 |
55 } // namespace sync_api | 55 } // namespace sync_api |
56 | 56 |
57 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_WRITE_TRANSACTION_H_ | 57 #endif // SYNC_INTERNAL_API_WRITE_TRANSACTION_H_ |
OLD | NEW |