| OLD | NEW |
| 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/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 "sync/engine/syncer_util.h" | 11 #include "sync/engine/syncer_util.h" |
| 12 #include "sync/engine/throttled_data_type_tracker.h" | 12 #include "sync/engine/throttled_data_type_tracker.h" |
| 13 #include "sync/syncable/entry.h" | 13 #include "sync/syncable/entry.h" |
| 14 #include "sync/syncable/mutable_entry.h" | 14 #include "sync/syncable/mutable_entry.h" |
| 15 #include "sync/syncable/nigori_handler.h" | 15 #include "sync/syncable/nigori_handler.h" |
| 16 #include "sync/syncable/nigori_util.h" | 16 #include "sync/syncable/nigori_util.h" |
| 17 #include "sync/syncable/syncable_util.h" | 17 #include "sync/syncable/syncable_util.h" |
| 18 #include "sync/syncable/write_transaction.h" | 18 #include "sync/syncable/syncable_write_transaction.h" |
| 19 #include "sync/util/cryptographer.h" | 19 #include "sync/util/cryptographer.h" |
| 20 | 20 |
| 21 using std::set; | 21 using std::set; |
| 22 using std::vector; | 22 using std::vector; |
| 23 | 23 |
| 24 namespace syncer { | 24 namespace syncer { |
| 25 | 25 |
| 26 using sessions::OrderedCommitSet; | 26 using sessions::OrderedCommitSet; |
| 27 using sessions::SyncSession; | 27 using sessions::SyncSession; |
| 28 using sessions::StatusController; | 28 using sessions::StatusController; |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 // delete trees. | 428 // delete trees. |
| 429 | 429 |
| 430 // Add moves and creates, and prepend their uncommitted parents. | 430 // Add moves and creates, and prepend their uncommitted parents. |
| 431 AddCreatesAndMoves(write_transaction, routes, ready_unsynced_set); | 431 AddCreatesAndMoves(write_transaction, routes, ready_unsynced_set); |
| 432 | 432 |
| 433 // Add all deletes. | 433 // Add all deletes. |
| 434 AddDeletes(write_transaction, ready_unsynced_set); | 434 AddDeletes(write_transaction, ready_unsynced_set); |
| 435 } | 435 } |
| 436 | 436 |
| 437 } // namespace syncer | 437 } // namespace syncer |
| OLD | NEW |