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

Side by Side Diff: sync/internal_api/change_reorder_buffer.cc

Issue 11638018: [sync] Componentize sync: Part 5: Eliminate filename collisions in sync.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comments Created 8 years 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/update_applicator.cc ('k') | sync/internal_api/read_node.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 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/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 11
12 #include "sync/internal_api/public/base/model_type.h" 12 #include "sync/internal_api/public/base/model_type.h"
13 #include "sync/internal_api/public/read_node.h" 13 #include "sync/internal_api/public/read_node.h"
14 #include "sync/syncable/base_transaction.h"
15 #include "sync/syncable/directory.h" 14 #include "sync/syncable/directory.h"
16 #include "sync/syncable/entry.h" 15 #include "sync/syncable/entry.h"
16 #include "sync/syncable/syncable_base_transaction.h"
17 17
18 using std::numeric_limits; 18 using std::numeric_limits;
19 using std::pair; 19 using std::pair;
20 using std::queue; 20 using std::queue;
21 using std::set; 21 using std::set;
22 22
23 namespace syncer { 23 namespace syncer {
24 24
25 // Traversal provides a way to collect a set of nodes from the syncable 25 // Traversal provides a way to collect a set of nodes from the syncable
26 // directory structure and then traverse them, along with any intermediate 26 // directory structure and then traverse them, along with any intermediate
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 id = child.Get(syncable::NEXT_ID); 219 id = child.Get(syncable::NEXT_ID);
220 } 220 }
221 } 221 }
222 } 222 }
223 223
224 *changes = ImmutableChangeRecordList(&changelist); 224 *changes = ImmutableChangeRecordList(&changelist);
225 return true; 225 return true;
226 } 226 }
227 227
228 } // namespace syncer 228 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/engine/update_applicator.cc ('k') | sync/internal_api/read_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698