OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #include "sync/engine/build_commit_command.h" | 5 #include "sync/engine/build_commit_command.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "sync/engine/syncer_proto_util.h" | 13 #include "sync/engine/syncer_proto_util.h" |
14 #include "sync/internal_api/public/base/unique_position.h" | 14 #include "sync/internal_api/public/base/unique_position.h" |
15 #include "sync/protocol/bookmark_specifics.pb.h" | 15 #include "sync/protocol/bookmark_specifics.pb.h" |
16 #include "sync/protocol/sync.pb.h" | 16 #include "sync/protocol/sync.pb.h" |
17 #include "sync/sessions/ordered_commit_set.h" | 17 #include "sync/sessions/ordered_commit_set.h" |
18 #include "sync/sessions/sync_session.h" | 18 #include "sync/sessions/sync_session.h" |
19 #include "sync/syncable/directory.h" | 19 #include "sync/syncable/directory.h" |
20 #include "sync/syncable/entry.h" | 20 #include "sync/syncable/entry.h" |
21 #include "sync/syncable/syncable_base_transaction.h" | 21 #include "sync/syncable/syncable_base_transaction.h" |
22 #include "sync/syncable/syncable_changes_version.h" | 22 #include "sync/syncable/syncable_changes_version.h" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 sync_entry->mutable_unique_position()); | 212 sync_entry->mutable_unique_position()); |
213 } | 213 } |
214 SetEntrySpecifics(&meta_entry, sync_entry); | 214 SetEntrySpecifics(&meta_entry, sync_entry); |
215 } | 215 } |
216 } | 216 } |
217 | 217 |
218 return SYNCER_OK; | 218 return SYNCER_OK; |
219 } | 219 } |
220 | 220 |
221 } // namespace syncer | 221 } // namespace syncer |
OLD | NEW |