| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/core/simple_metadata_change_list.h" | 5 #include "components/sync/model/simple_metadata_change_list.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
| 11 #include "components/sync/model/mock_model_type_store.h" | 11 #include "components/sync/model/mock_model_type_store.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 13 | 13 |
| 14 namespace syncer { | 14 namespace syncer { |
| 15 namespace { | 15 namespace { |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 cl.TransferChanges(store(), batch.get()); | 182 cl.TransferChanges(store(), batch.get()); |
| 183 | 183 |
| 184 EXPECT_TRUE(delete_set.find("client_tag") != delete_set.end()); | 184 EXPECT_TRUE(delete_set.find("client_tag") != delete_set.end()); |
| 185 EXPECT_TRUE(change_map.find("client_tag") == change_map.end()); | 185 EXPECT_TRUE(change_map.find("client_tag") == change_map.end()); |
| 186 EXPECT_TRUE(delete_called); | 186 EXPECT_TRUE(delete_called); |
| 187 EXPECT_TRUE(global_metadata.empty()); | 187 EXPECT_TRUE(global_metadata.empty()); |
| 188 } | 188 } |
| 189 | 189 |
| 190 } // namespace | 190 } // namespace |
| 191 } // namespace syncer | 191 } // namespace syncer |
| OLD | NEW |