OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/directory_commit_contribution.h" | 5 #include "components/sync/engine_impl/directory_commit_contribution.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "components/sync/base/attachment_id_proto.h" | 11 #include "components/sync/base/attachment_id_proto.h" |
| 12 #include "components/sync/engine_impl/cycle/directory_type_debug_info_emitter.h" |
12 #include "components/sync/syncable/entry.h" | 13 #include "components/sync/syncable/entry.h" |
13 #include "components/sync/syncable/mutable_entry.h" | 14 #include "components/sync/syncable/mutable_entry.h" |
14 #include "components/sync/syncable/syncable_read_transaction.h" | 15 #include "components/sync/syncable/syncable_read_transaction.h" |
15 #include "components/sync/syncable/syncable_write_transaction.h" | 16 #include "components/sync/syncable/syncable_write_transaction.h" |
16 #include "components/sync/test/engine/test_directory_setter_upper.h" | 17 #include "components/sync/test/engine/test_directory_setter_upper.h" |
17 #include "components/sync/test/engine/test_id_factory.h" | 18 #include "components/sync/test/engine/test_id_factory.h" |
18 #include "components/sync/test/engine/test_syncable_utils.h" | 19 #include "components/sync/test/engine/test_syncable_utils.h" |
19 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
20 | 21 |
21 namespace syncer { | 22 namespace syncer { |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
496 EXPECT_FALSE(a3.GetId().ServerKnows()); | 497 EXPECT_FALSE(a3.GetId().ServerKnows()); |
497 EXPECT_FALSE(a3.GetSyncing()); | 498 EXPECT_FALSE(a3.GetSyncing()); |
498 EXPECT_FALSE(a3.GetDirtySync()); | 499 EXPECT_FALSE(a3.GetDirtySync()); |
499 EXPECT_EQ(0, a3.GetServerVersion()); | 500 EXPECT_EQ(0, a3.GetServerVersion()); |
500 } | 501 } |
501 | 502 |
502 art_cc->CleanUp(); | 503 art_cc->CleanUp(); |
503 } | 504 } |
504 | 505 |
505 } // namespace syncer | 506 } // namespace syncer |
OLD | NEW |