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

Side by Side Diff: sync/engine/syncer_util.h

Issue 15764010: Experimental functionize patch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync: Expose sync functionality as functions Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « sync/engine/syncer_unittest.cc ('k') | sync/sessions/data_type_tracker.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 // 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 10
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "sync/engine/syncer.h" 15 #include "sync/engine/syncer.h"
16 #include "sync/engine/syncer_types.h" 16 #include "sync/engine/syncer_types.h"
17 #include "sync/syncable/entry_kernel.h" 17 #include "sync/syncable/entry_kernel.h"
18 #include "sync/syncable/metahandle_set.h" 18 #include "sync/syncable/metahandle_set.h"
19 #include "sync/syncable/mutable_entry.h"
19 #include "sync/syncable/syncable_id.h" 20 #include "sync/syncable/syncable_id.h"
20 21
21 namespace sync_pb { 22 namespace sync_pb {
22 class SyncEntity; 23 class SyncEntity;
23 } // namespace sync_pb 24 } // namespace sync_pb
24 25
25 namespace syncer { 26 namespace syncer {
26 27
27 namespace syncable { 28 namespace syncable {
28 class BaseTransaction; 29 class BaseTransaction;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 const sync_pb::SyncEntity& update, 100 const sync_pb::SyncEntity& update,
100 syncable::MutableEntry* target); 101 syncable::MutableEntry* target);
101 102
102 void MarkDeletedChildrenSynced( 103 void MarkDeletedChildrenSynced(
103 syncable::Directory* dir, 104 syncable::Directory* dir,
104 std::set<syncable::Id>* deleted_folders); 105 std::set<syncable::Id>* deleted_folders);
105 106
106 } // namespace syncer 107 } // namespace syncer
107 108
108 #endif // SYNC_ENGINE_SYNCER_UTIL_H_ 109 #endif // SYNC_ENGINE_SYNCER_UTIL_H_
OLDNEW
« no previous file with comments | « sync/engine/syncer_unittest.cc ('k') | sync/sessions/data_type_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698