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

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

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 months 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
OLDNEW
1 // Copyright (c) 2011 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 "chrome/browser/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 "chrome/browser/sync/internal_api/read_node.h"
14 #include "chrome/browser/sync/syncable/model_type.h" 14 #include "sync/syncable/model_type.h"
15 #include "chrome/browser/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 {
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
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698