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