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

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

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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/engine/syncer_util.cc » ('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 CHROME_BROWSER_SYNC_ENGINE_SYNCER_UTIL_H_ 8 #ifndef SYNC_ENGINE_SYNCER_UTIL_H_
9 #define CHROME_BROWSER_SYNC_ENGINE_SYNCER_UTIL_H_ 9 #define SYNC_ENGINE_SYNCER_UTIL_H_
10 #pragma once 10 #pragma once
11 11
12 #include <set> 12 #include <set>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "chrome/browser/sync/engine/syncer.h" 16 #include "sync/engine/syncer.h"
17 #include "chrome/browser/sync/engine/syncer_types.h" 17 #include "sync/engine/syncer_types.h"
18 #include "chrome/browser/sync/syncable/syncable.h" 18 #include "sync/syncable/syncable.h"
19 #include "chrome/browser/sync/syncable/syncable_id.h" 19 #include "sync/syncable/syncable_id.h"
20 20
21 namespace browser_sync { 21 namespace browser_sync {
22 22
23 class Cryptographer; 23 class Cryptographer;
24 class SyncEntity; 24 class SyncEntity;
25 25
26 class SyncerUtil { 26 class SyncerUtil {
27 public: 27 public:
28 static void ChangeEntryIDAndUpdateChildren( 28 static void ChangeEntryIDAndUpdateChildren(
29 syncable::WriteTransaction* trans, 29 syncable::WriteTransaction* trans,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 static void MarkDeletedChildrenSynced( 127 static void MarkDeletedChildrenSynced(
128 syncable::Directory* dir, 128 syncable::Directory* dir,
129 std::set<syncable::Id>* deleted_folders); 129 std::set<syncable::Id>* deleted_folders);
130 130
131 private: 131 private:
132 DISALLOW_IMPLICIT_CONSTRUCTORS(SyncerUtil); 132 DISALLOW_IMPLICIT_CONSTRUCTORS(SyncerUtil);
133 }; 133 };
134 134
135 } // namespace browser_sync 135 } // namespace browser_sync
136 136
137 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_UTIL_H_ 137 #endif // SYNC_ENGINE_SYNCER_UTIL_H_
OLDNEW
« no previous file with comments | « sync/engine/syncer_unittest.cc ('k') | sync/engine/syncer_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698