| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "base/message_loop/message_loop.h" | 5 #include "base/message_loop/message_loop.h" |
| 6 #include "base/run_loop.h" | 6 #include "base/run_loop.h" |
| 7 #include "sync/internal_api/public/base/model_type_test_util.h" | 7 #include "sync/internal_api/public/base/model_type_test_util.h" |
| 8 #include "sync/notifier/invalidation_util.h" | |
| 9 #include "sync/notifier/mock_ack_handler.h" | |
| 10 #include "sync/notifier/object_id_invalidation_map.h" | |
| 11 #include "sync/sessions/nudge_tracker.h" | 8 #include "sync/sessions/nudge_tracker.h" |
| 12 #include "sync/test/mock_invalidation.h" | 9 #include "sync/test/mock_invalidation.h" |
| 13 #include "sync/test/mock_invalidation_tracker.h" | 10 #include "sync/test/mock_invalidation_tracker.h" |
| 14 #include "sync/test/trackable_mock_invalidation.h" | 11 #include "sync/test/trackable_mock_invalidation.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 16 | 13 |
| 17 namespace syncer { | 14 namespace syncer { |
| 18 | 15 |
| 19 namespace { | 16 namespace { |
| 20 | 17 |
| (...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 854 EXPECT_TRUE(IsInvalidationAcknowledged(inv2_id)); | 851 EXPECT_TRUE(IsInvalidationAcknowledged(inv2_id)); |
| 855 EXPECT_TRUE(IsInvalidationAcknowledged(inv3_id)); | 852 EXPECT_TRUE(IsInvalidationAcknowledged(inv3_id)); |
| 856 EXPECT_TRUE(IsInvalidationAcknowledged(inv4_id)); | 853 EXPECT_TRUE(IsInvalidationAcknowledged(inv4_id)); |
| 857 EXPECT_TRUE(IsInvalidationAcknowledged(inv5_id)); | 854 EXPECT_TRUE(IsInvalidationAcknowledged(inv5_id)); |
| 858 | 855 |
| 859 EXPECT_TRUE(AllInvalidationsAccountedFor()); | 856 EXPECT_TRUE(AllInvalidationsAccountedFor()); |
| 860 } | 857 } |
| 861 | 858 |
| 862 } // namespace sessions | 859 } // namespace sessions |
| 863 } // namespace syncer | 860 } // namespace syncer |
| OLD | NEW |