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 SYNC_ENGINE_SYNCER_H_ | 5 #ifndef SYNC_ENGINE_SYNCER_H_ |
6 #define SYNC_ENGINE_SYNCER_H_ | 6 #define SYNC_ENGINE_SYNCER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <utility> | 8 #include <utility> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
14 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
15 #include "sync/engine/conflict_resolver.h" | 14 #include "sync/engine/conflict_resolver.h" |
16 #include "sync/engine/syncer_types.h" | 15 #include "sync/engine/syncer_types.h" |
17 #include "sync/engine/syncproto.h" | 16 #include "sync/engine/syncproto.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 }; | 102 }; |
104 | 103 |
105 // Utility function declarations. | 104 // Utility function declarations. |
106 void CopyServerFields(syncable::Entry* src, syncable::MutableEntry* dest); | 105 void CopyServerFields(syncable::Entry* src, syncable::MutableEntry* dest); |
107 void ClearServerData(syncable::MutableEntry* entry); | 106 void ClearServerData(syncable::MutableEntry* entry); |
108 const char* SyncerStepToString(const SyncerStep); | 107 const char* SyncerStepToString(const SyncerStep); |
109 | 108 |
110 } // namespace syncer | 109 } // namespace syncer |
111 | 110 |
112 #endif // SYNC_ENGINE_SYNCER_H_ | 111 #endif // SYNC_ENGINE_SYNCER_H_ |
OLD | NEW |