Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: components/sync/syncable/delete_journal.cc

Issue 2407163004: [Sync] Move some directory-related things from core/ to syncable/. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/sync/syncable/delete_journal.h ('k') | components/sync/syncable/read_node.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/sync/syncable/delete_journal.h ('k') | components/sync/syncable/read_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698