OLD | NEW |
1 // Copyright (c) 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.h" |
11 #include "sync/engine/syncer_types.h" | 11 #include "sync/engine/syncer_types.h" |
12 #include "sync/engine/throttled_data_type_tracker.h" | 12 #include "sync/engine/throttled_data_type_tracker.h" |
13 #include "sync/internal_api/public/base/model_type.h" | 13 #include "sync/internal_api/public/base/model_type.h" |
14 #include "sync/internal_api/public/base/model_type_invalidation_map_test_util.h" | 14 #include "sync/internal_api/public/base/model_type_invalidation_map_test_util.h" |
15 #include "sync/sessions/status_controller.h" | 15 #include "sync/sessions/status_controller.h" |
16 #include "sync/syncable/syncable_id.h" | 16 #include "sync/syncable/syncable_id.h" |
17 #include "sync/syncable/write_transaction.h" | 17 #include "sync/syncable/syncable_write_transaction.h" |
18 #include "sync/test/engine/fake_model_worker.h" | 18 #include "sync/test/engine/fake_model_worker.h" |
19 #include "sync/test/engine/test_directory_setter_upper.h" | 19 #include "sync/test/engine/test_directory_setter_upper.h" |
20 #include "sync/test/fake_extensions_activity_monitor.h" | 20 #include "sync/test/fake_extensions_activity_monitor.h" |
21 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
22 | 22 |
23 namespace syncer { | 23 namespace syncer { |
24 | 24 |
25 using syncable::WriteTransaction; | 25 using syncable::WriteTransaction; |
26 | 26 |
27 namespace sessions { | 27 namespace sessions { |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 | 433 |
434 ASSERT_EQ(3U, invalidation_map.size()); | 434 ASSERT_EQ(3U, invalidation_map.size()); |
435 EXPECT_EQ(invalidation_map[BOOKMARKS].payload, payload); | 435 EXPECT_EQ(invalidation_map[BOOKMARKS].payload, payload); |
436 EXPECT_EQ(invalidation_map[PASSWORDS].payload, payload); | 436 EXPECT_EQ(invalidation_map[PASSWORDS].payload, payload); |
437 EXPECT_EQ(invalidation_map[AUTOFILL].payload, payload); | 437 EXPECT_EQ(invalidation_map[AUTOFILL].payload, payload); |
438 } | 438 } |
439 | 439 |
440 } // namespace | 440 } // namespace |
441 } // namespace sessions | 441 } // namespace sessions |
442 } // namespace syncer | 442 } // namespace syncer |
OLD | NEW |