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_READ_TRANSACTION_H_ | 5 #ifndef SYNC_INTERNAL_API_READ_TRANSACTION_H_ |
6 #define CHROME_BROWSER_SYNC_INTERNAL_API_READ_TRANSACTION_H_ | 6 #define SYNC_INTERNAL_API_READ_TRANSACTION_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "chrome/browser/sync/internal_api/base_transaction.h" | 9 #include "sync/internal_api/base_transaction.h" |
10 | 10 |
11 namespace tracked_objects { | 11 namespace tracked_objects { |
12 class Location; | 12 class Location; |
13 } // namespace tracked_objects | 13 } // namespace tracked_objects |
14 | 14 |
15 namespace sync_api { | 15 namespace sync_api { |
16 | 16 |
17 struct UserShare; | 17 struct UserShare; |
18 | 18 |
19 // Sync API's ReadTransaction is a read-only BaseTransaction. It wraps | 19 // Sync API's ReadTransaction is a read-only BaseTransaction. It wraps |
(...skipping 16 matching lines...) Expand all Loading... |
36 | 36 |
37 // The underlying syncable object which this class wraps. | 37 // The underlying syncable object which this class wraps. |
38 syncable::BaseTransaction* transaction_; | 38 syncable::BaseTransaction* transaction_; |
39 bool close_transaction_; | 39 bool close_transaction_; |
40 | 40 |
41 DISALLOW_COPY_AND_ASSIGN(ReadTransaction); | 41 DISALLOW_COPY_AND_ASSIGN(ReadTransaction); |
42 }; | 42 }; |
43 | 43 |
44 } // namespace sync_api | 44 } // namespace sync_api |
45 | 45 |
46 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_READ_TRANSACTION_H_ | 46 #endif // SYNC_INTERNAL_API_READ_TRANSACTION_H_ |
OLD | NEW |