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 #include "components/sync/core/delete_journal.h" | 5 #include "components/sync/syncable/delete_journal.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "components/sync/core/base_transaction.h" | 9 #include "components/sync/syncable/base_transaction.h" |
10 #include "components/sync/syncable/directory.h" | 10 #include "components/sync/syncable/directory.h" |
11 #include "components/sync/syncable/syncable_base_transaction.h" | 11 #include "components/sync/syncable/syncable_base_transaction.h" |
12 | 12 |
13 namespace syncer { | 13 namespace syncer { |
14 | 14 |
15 // static | 15 // static |
16 void DeleteJournal::GetBookmarkDeleteJournals( | 16 void DeleteJournal::GetBookmarkDeleteJournals( |
17 BaseTransaction* trans, | 17 BaseTransaction* trans, |
18 BookmarkDeleteJournalList* delete_journal_list) { | 18 BookmarkDeleteJournalList* delete_journal_list) { |
19 syncable::EntryKernelSet deleted_entries; | 19 syncable::EntryKernelSet deleted_entries; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 } | 53 } |
54 | 54 |
55 // static | 55 // static |
56 void DeleteJournal::PurgeDeleteJournals(BaseTransaction* trans, | 56 void DeleteJournal::PurgeDeleteJournals(BaseTransaction* trans, |
57 const std::set<int64_t>& ids) { | 57 const std::set<int64_t>& ids) { |
58 trans->GetDirectory()->delete_journal()->PurgeDeleteJournals( | 58 trans->GetDirectory()->delete_journal()->PurgeDeleteJournals( |
59 trans->GetWrappedTrans(), ids); | 59 trans->GetWrappedTrans(), ids); |
60 } | 60 } |
61 | 61 |
62 } // namespace syncer | 62 } // namespace syncer |
OLD | NEW |