OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 entry. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCER_H_ |
6 #define CHROME_BROWSER_SYNC_ENGINE_SYNCER_H_ | 6 #define CHROME_BROWSER_SYNC_ENGINE_SYNCER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 void CopyServerFields(syncable::Entry* src, syncable::MutableEntry* dest); | 203 void CopyServerFields(syncable::Entry* src, syncable::MutableEntry* dest); |
204 void ClearServerData(syncable::MutableEntry* entry); | 204 void ClearServerData(syncable::MutableEntry* entry); |
205 | 205 |
206 // Get update contents as a string. Intended for logging, and intended | 206 // Get update contents as a string. Intended for logging, and intended |
207 // to have a smaller footprint than the protobuf's built-in pretty printer. | 207 // to have a smaller footprint than the protobuf's built-in pretty printer. |
208 std::string SyncEntityDebugString(const sync_pb::SyncEntity& entry); | 208 std::string SyncEntityDebugString(const sync_pb::SyncEntity& entry); |
209 | 209 |
210 } // namespace browser_sync | 210 } // namespace browser_sync |
211 | 211 |
212 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_H_ | 212 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_H_ |
OLD | NEW |