| 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 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 |
| 11 #include "chrome/browser/sync/util/cryptographer.h" | 11 #include "sync/util/cryptographer.h" |
| 12 | 12 |
| 13 namespace syncable { | 13 namespace syncable { |
| 14 class BaseTransaction; | 14 class BaseTransaction; |
| 15 class Directory; | 15 class Directory; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace sync_api { | 18 namespace sync_api { |
| 19 | 19 |
| 20 // Sync API's BaseTransaction, ReadTransaction, and WriteTransaction allow for | 20 // Sync API's BaseTransaction, ReadTransaction, and WriteTransaction allow for |
| 21 // batching of several read and/or write operations. The read and write | 21 // batching of several read and/or write operations. The read and write |
| (...skipping 23 matching lines...) Expand all Loading... |
| 45 | 45 |
| 46 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); | 46 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 syncable::ModelTypeSet GetEncryptedTypes( | 49 syncable::ModelTypeSet GetEncryptedTypes( |
| 50 const sync_api::BaseTransaction* trans); | 50 const sync_api::BaseTransaction* trans); |
| 51 | 51 |
| 52 } // namespace sync_api | 52 } // namespace sync_api |
| 53 | 53 |
| 54 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_BASE_TRANSACTION_H_ | 54 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_BASE_TRANSACTION_H_ |
| OLD | NEW |