| Index: sync/internal_api/public/base_transaction.h
|
| diff --git a/sync/internal_api/public/base_transaction.h b/sync/internal_api/public/base_transaction.h
|
| index 7a2ba37e3a2414a208519919515454da3217ed51..e40f7e51bf8c269f15469d8832c164d9cccebb6f 100644
|
| --- a/sync/internal_api/public/base_transaction.h
|
| +++ b/sync/internal_api/public/base_transaction.h
|
| @@ -5,8 +5,8 @@
|
| #ifndef SYNC_INTERNAL_API_PUBLIC_BASE_TRANSACTION_H_
|
| #define SYNC_INTERNAL_API_PUBLIC_BASE_TRANSACTION_H_
|
|
|
| +#include "sync/api/sync_data.h"
|
| #include "sync/internal_api/public/user_share.h"
|
| -
|
| #include "sync/internal_api/public/base/model_type.h"
|
| #include "sync/util/cryptographer.h"
|
|
|
| @@ -43,6 +43,13 @@ class BaseTransaction {
|
| return user_share_;
|
| }
|
|
|
| + // Query directory for delete journals of |type|. Covert to SyncData and
|
| + // return.
|
| + void GetDeletedSyncData(ModelType type, SyncDataList *deleted) const;
|
| +
|
| + // Purge delete journals with given IDs from directory.
|
| + void PurgeDeletedSyncData(const std::set<int64>& ids);
|
| +
|
| protected:
|
| explicit BaseTransaction(UserShare* share);
|
| virtual ~BaseTransaction();
|
|
|