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/engine/get_commit_ids_command.h" | 5 #include "sync/engine/get_commit_ids_command.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "chrome/browser/sync/engine/nigori_util.h" | 11 #include "sync/engine/nigori_util.h" |
12 #include "chrome/browser/sync/engine/syncer_util.h" | 12 #include "sync/engine/syncer_util.h" |
13 #include "chrome/browser/sync/syncable/syncable.h" | 13 #include "sync/syncable/syncable.h" |
14 #include "chrome/browser/sync/util/cryptographer.h" | 14 #include "sync/util/cryptographer.h" |
15 | 15 |
16 using std::set; | 16 using std::set; |
17 using std::vector; | 17 using std::vector; |
18 | 18 |
19 namespace browser_sync { | 19 namespace browser_sync { |
20 | 20 |
21 using sessions::OrderedCommitSet; | 21 using sessions::OrderedCommitSet; |
22 using sessions::SyncSession; | 22 using sessions::SyncSession; |
23 using sessions::StatusController; | 23 using sessions::StatusController; |
24 | 24 |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 // delete trees. | 425 // delete trees. |
426 | 426 |
427 // Add moves and creates, and prepend their uncommitted parents. | 427 // Add moves and creates, and prepend their uncommitted parents. |
428 AddCreatesAndMoves(write_transaction, routes, ready_unsynced_set); | 428 AddCreatesAndMoves(write_transaction, routes, ready_unsynced_set); |
429 | 429 |
430 // Add all deletes. | 430 // Add all deletes. |
431 AddDeletes(write_transaction, ready_unsynced_set); | 431 AddDeletes(write_transaction, ready_unsynced_set); |
432 } | 432 } |
433 | 433 |
434 } // namespace browser_sync | 434 } // namespace browser_sync |
OLD | NEW |