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 // Utility functions manipulating syncable::Entries, intended for use by the | 5 // Utility functions manipulating syncable::Entries, intended for use by the |
6 // syncer. | 6 // syncer. |
7 | 7 |
8 #ifndef SYNC_ENGINE_SYNCER_UTIL_H_ | 8 #ifndef SYNC_ENGINE_SYNCER_UTIL_H_ |
9 #define SYNC_ENGINE_SYNCER_UTIL_H_ | 9 #define SYNC_ENGINE_SYNCER_UTIL_H_ |
10 #pragma once | |
11 | 10 |
12 #include <set> | 11 #include <set> |
13 #include <string> | 12 #include <string> |
14 #include <vector> | 13 #include <vector> |
15 | 14 |
16 #include "sync/engine/syncer.h" | 15 #include "sync/engine/syncer.h" |
17 #include "sync/engine/syncer_types.h" | 16 #include "sync/engine/syncer_types.h" |
18 #include "sync/syncable/entry_kernel.h" | 17 #include "sync/syncable/entry_kernel.h" |
19 #include "sync/syncable/metahandle_set.h" | 18 #include "sync/syncable/metahandle_set.h" |
20 #include "sync/syncable/syncable_id.h" | 19 #include "sync/syncable/syncable_id.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 syncable::MetahandleSet* inserted_items, | 108 syncable::MetahandleSet* inserted_items, |
110 std::vector<syncable::Id>* commit_ids); | 109 std::vector<syncable::Id>* commit_ids); |
111 | 110 |
112 void MarkDeletedChildrenSynced( | 111 void MarkDeletedChildrenSynced( |
113 syncable::Directory* dir, | 112 syncable::Directory* dir, |
114 std::set<syncable::Id>* deleted_folders); | 113 std::set<syncable::Id>* deleted_folders); |
115 | 114 |
116 } // namespace syncer | 115 } // namespace syncer |
117 | 116 |
118 #endif // SYNC_ENGINE_SYNCER_UTIL_H_ | 117 #endif // SYNC_ENGINE_SYNCER_UTIL_H_ |
OLD | NEW |