OLD | NEW |
1 // Copyright (c) 2012 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 SYNC_SYNCABLE_BASE_TRANSACTION_H_ | 5 #ifndef SYNC_SYNCABLE_BASE_TRANSACTION_H_ |
6 #define SYNC_SYNCABLE_BASE_TRANSACTION_H_ | 6 #define SYNC_SYNCABLE_BASE_TRANSACTION_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/location.h" | 8 #include "base/location.h" |
10 #include "sync/syncable/syncable_id.h" | 9 #include "sync/syncable/syncable_id.h" |
11 | 10 |
12 namespace syncer { | 11 namespace syncer { |
13 namespace syncable { | 12 namespace syncable { |
14 | 13 |
15 class Directory; | 14 class Directory; |
16 | 15 |
17 // A WriteTransaction has a writer tag describing which body of code is doing | 16 // A WriteTransaction has a writer tag describing which body of code is doing |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 73 |
75 private: | 74 private: |
76 friend class Entry; | 75 friend class Entry; |
77 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); | 76 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); |
78 }; | 77 }; |
79 | 78 |
80 } // namespace syncable | 79 } // namespace syncable |
81 } // namespace syncer | 80 } // namespace syncer |
82 | 81 |
83 #endif // SYNC_SYNCABLE_BASE_TRANSACTION_H_ | 82 #endif // SYNC_SYNCABLE_BASE_TRANSACTION_H_ |
OLD | NEW |