| 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 COMPONENTS_SYNC_CORE_DELETE_JOURNAL_H_ | 5 #ifndef COMPONENTS_SYNC_SYNCABLE_DELETE_JOURNAL_H_ |
| 6 #define COMPONENTS_SYNC_CORE_DELETE_JOURNAL_H_ | 6 #define COMPONENTS_SYNC_SYNCABLE_DELETE_JOURNAL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "components/sync/base/model_type.h" | 13 #include "components/sync/base/model_type.h" |
| 14 #include "components/sync/protocol/sync.pb.h" | 14 #include "components/sync/protocol/sync.pb.h" |
| 15 | 15 |
| 16 namespace syncer { | 16 namespace syncer { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 38 BaseTransaction* trans, | 38 BaseTransaction* trans, |
| 39 BookmarkDeleteJournalList* delete_journals); | 39 BookmarkDeleteJournalList* delete_journals); |
| 40 | 40 |
| 41 // Purge delete journals of given IDs from |trans|'s directory. | 41 // Purge delete journals of given IDs from |trans|'s directory. |
| 42 static void PurgeDeleteJournals(BaseTransaction* trans, | 42 static void PurgeDeleteJournals(BaseTransaction* trans, |
| 43 const std::set<int64_t>& ids); | 43 const std::set<int64_t>& ids); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace syncer | 46 } // namespace syncer |
| 47 | 47 |
| 48 #endif // COMPONENTS_SYNC_CORE_DELETE_JOURNAL_H_ | 48 #endif // COMPONENTS_SYNC_SYNCABLE_DELETE_JOURNAL_H_ |
| OLD | NEW |