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 #include "chrome/browser/sync/internal_api/change_reorder_buffer.h" | 5 #include "sync/internal_api/change_reorder_buffer.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 #include <queue> | 8 #include <queue> |
9 #include <set> | 9 #include <set> |
10 #include <utility> // for pair<> | 10 #include <utility> // for pair<> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "chrome/browser/sync/internal_api/read_node.h" | 13 #include "sync/internal_api/read_node.h" |
14 #include "sync/syncable/model_type.h" | 14 #include "sync/syncable/model_type.h" |
15 #include "sync/syncable/syncable.h" | 15 #include "sync/syncable/syncable.h" |
16 | 16 |
17 using std::numeric_limits; | 17 using std::numeric_limits; |
18 using std::pair; | 18 using std::pair; |
19 using std::queue; | 19 using std::queue; |
20 using std::set; | 20 using std::set; |
21 using std::vector; | 21 using std::vector; |
22 | 22 |
23 namespace sync_api { | 23 namespace sync_api { |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 id = child.Get(syncable::NEXT_ID); | 220 id = child.Get(syncable::NEXT_ID); |
221 } | 221 } |
222 } | 222 } |
223 } | 223 } |
224 | 224 |
225 *changes = ImmutableChangeRecordList(&changelist); | 225 *changes = ImmutableChangeRecordList(&changelist); |
226 return true; | 226 return true; |
227 } | 227 } |
228 | 228 |
229 } // namespace sync_api | 229 } // namespace sync_api |
OLD | NEW |