OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "components/sync/engine_impl/get_commit_ids.h" | 5 #include "components/sync/engine_impl/get_commit_ids.h" |
6 | 6 |
7 #include <stddef.h> | |
8 #include <stdint.h> | |
9 | |
10 #include <set> | 7 #include <set> |
11 #include <vector> | |
12 | 8 |
13 #include "base/macros.h" | 9 #include "base/macros.h" |
14 #include "components/sync/base/cryptographer.h" | 10 #include "components/sync/base/cryptographer.h" |
15 #include "components/sync/engine_impl/syncer_util.h" | 11 #include "components/sync/engine_impl/syncer_util.h" |
16 #include "components/sync/syncable/directory.h" | |
17 #include "components/sync/syncable/entry.h" | 12 #include "components/sync/syncable/entry.h" |
18 #include "components/sync/syncable/nigori_handler.h" | 13 #include "components/sync/syncable/nigori_handler.h" |
19 #include "components/sync/syncable/nigori_util.h" | 14 #include "components/sync/syncable/nigori_util.h" |
20 #include "components/sync/syncable/syncable_base_transaction.h" | 15 #include "components/sync/syncable/syncable_base_transaction.h" |
21 #include "components/sync/syncable/syncable_util.h" | 16 #include "components/sync/syncable/syncable_util.h" |
22 | 17 |
23 using std::set; | 18 using std::set; |
24 using std::vector; | 19 using std::vector; |
25 | 20 |
26 namespace syncer { | 21 namespace syncer { |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
572 // Add moves and creates, and prepend their uncommitted parents. | 567 // Add moves and creates, and prepend their uncommitted parents. |
573 traversal.AddCreatesAndMoves(ready_unsynced_set); | 568 traversal.AddCreatesAndMoves(ready_unsynced_set); |
574 | 569 |
575 // Add all deletes. | 570 // Add all deletes. |
576 traversal.AddDeletes(ready_unsynced_set); | 571 traversal.AddDeletes(ready_unsynced_set); |
577 } | 572 } |
578 | 573 |
579 } // namespace | 574 } // namespace |
580 | 575 |
581 } // namespace syncer | 576 } // namespace syncer |
OLD | NEW |