OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BASE_TRANSACTION_H_ | 5 #ifndef CHROME_BROWSER_SYNC_INTERNAL_API_BASE_TRANSACTION_H_ |
6 #define CHROME_BROWSER_SYNC_INTERNAL_API_BASE_TRANSACTION_H_ | 6 #define CHROME_BROWSER_SYNC_INTERNAL_API_BASE_TRANSACTION_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/sync/internal_api/user_share.h" | 9 #include "chrome/browser/sync/internal_api/user_share.h" |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 private: | 45 private: |
46 // A syncable ScopedDirLookup, which is the parent of syncable transactions. | 46 // A syncable ScopedDirLookup, which is the parent of syncable transactions. |
47 syncable::ScopedDirLookup* lookup_; | 47 syncable::ScopedDirLookup* lookup_; |
48 | 48 |
49 browser_sync::Cryptographer* cryptographer_; | 49 browser_sync::Cryptographer* cryptographer_; |
50 | 50 |
51 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); | 51 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); |
52 }; | 52 }; |
53 | 53 |
54 syncable::ModelEnumSet GetEncryptedTypes( | 54 syncable::ModelTypeSet GetEncryptedTypes( |
55 const sync_api::BaseTransaction* trans); | 55 const sync_api::BaseTransaction* trans); |
56 | 56 |
57 } // namespace sync_api | 57 } // namespace sync_api |
58 | 58 |
59 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_BASE_TRANSACTION_H_ | 59 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_BASE_TRANSACTION_H_ |
OLD | NEW |