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