| 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_INTERNAL_API_PUBLIC_BASE_TRANSACTION_H_ | 5 #ifndef SYNC_INTERNAL_API_PUBLIC_BASE_TRANSACTION_H_ |
| 6 #define SYNC_INTERNAL_API_PUBLIC_BASE_TRANSACTION_H_ | 6 #define SYNC_INTERNAL_API_PUBLIC_BASE_TRANSACTION_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "sync/internal_api/public/user_share.h" | 9 #include "sync/internal_api/public/user_share.h" |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 virtual ~BaseTransaction(); | 39 virtual ~BaseTransaction(); |
| 40 | 40 |
| 41 BaseTransaction() : directory_(NULL) { } | 41 BaseTransaction() : directory_(NULL) { } |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 syncable::Directory* directory_; | 44 syncable::Directory* directory_; |
| 45 | 45 |
| 46 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); | 46 DISALLOW_COPY_AND_ASSIGN(BaseTransaction); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 syncable::ModelTypeSet GetEncryptedTypes( | 49 syncer::ModelTypeSet GetEncryptedTypes(const syncer::BaseTransaction* trans); |
| 50 const syncer::BaseTransaction* trans); | |
| 51 | 50 |
| 52 } // namespace syncer | 51 } // namespace syncer |
| 53 | 52 |
| 54 #endif // SYNC_INTERNAL_API_PUBLIC_BASE_TRANSACTION_H_ | 53 #endif // SYNC_INTERNAL_API_PUBLIC_BASE_TRANSACTION_H_ |
| OLD | NEW |