OLD | NEW |
1 // Copyright 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/sessions/sync_session.h" | 5 #include "sync/sessions/sync_session.h" |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "sync/engine/syncer_types.h" | 11 #include "sync/engine/syncer_types.h" |
12 #include "sync/internal_api/public/base/model_type.h" | 12 #include "sync/internal_api/public/base/model_type.h" |
13 #include "sync/internal_api/public/base/model_type_invalidation_map_test_util.h" | 13 #include "sync/internal_api/public/base/model_type_invalidation_map_test_util.h" |
14 #include "sync/sessions/status_controller.h" | 14 #include "sync/sessions/status_controller.h" |
15 #include "sync/syncable/syncable_id.h" | 15 #include "sync/syncable/syncable_id.h" |
16 #include "sync/syncable/syncable_write_transaction.h" | 16 #include "sync/syncable/syncable_write_transaction.h" |
17 #include "sync/test/engine/fake_model_worker.h" | 17 #include "sync/test/engine/fake_model_worker.h" |
18 #include "sync/test/engine/test_directory_setter_upper.h" | 18 #include "sync/test/engine/test_directory_setter_upper.h" |
19 #include "sync/test/fake_extensions_activity_monitor.h" | 19 #include "sync/test/fake_extensions_activity_monitor.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 | 195 |
196 ASSERT_EQ(3U, invalidation_map.size()); | 196 ASSERT_EQ(3U, invalidation_map.size()); |
197 EXPECT_EQ(invalidation_map[BOOKMARKS].payload, payload); | 197 EXPECT_EQ(invalidation_map[BOOKMARKS].payload, payload); |
198 EXPECT_EQ(invalidation_map[PASSWORDS].payload, payload); | 198 EXPECT_EQ(invalidation_map[PASSWORDS].payload, payload); |
199 EXPECT_EQ(invalidation_map[AUTOFILL].payload, payload); | 199 EXPECT_EQ(invalidation_map[AUTOFILL].payload, payload); |
200 } | 200 } |
201 | 201 |
202 } // namespace | 202 } // namespace |
203 } // namespace sessions | 203 } // namespace sessions |
204 } // namespace syncer | 204 } // namespace syncer |
OLD | NEW |