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 "components/sync/engine_impl/cycle/nudge_tracker.h" | 5 #include "components/sync/engine_impl/cycle/nudge_tracker.h" |
6 | 6 |
7 #include <stddef.h> | |
8 #include <stdint.h> | 7 #include <stdint.h> |
9 | 8 |
10 #include <string> | 9 #include <string> |
11 #include <utility> | 10 #include <utility> |
12 #include <vector> | 11 #include <vector> |
13 | 12 |
14 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
15 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
16 #include "components/sync/base/model_type_test_util.h" | 15 #include "components/sync/base/model_type_test_util.h" |
17 #include "components/sync/test/mock_invalidation.h" | 16 #include "components/sync/test/mock_invalidation.h" |
(...skipping 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
958 EXPECT_TRUE(IsInvalidationAcknowledged(inv1_id)); | 957 EXPECT_TRUE(IsInvalidationAcknowledged(inv1_id)); |
959 EXPECT_TRUE(IsInvalidationAcknowledged(inv2_id)); | 958 EXPECT_TRUE(IsInvalidationAcknowledged(inv2_id)); |
960 EXPECT_TRUE(IsInvalidationAcknowledged(inv3_id)); | 959 EXPECT_TRUE(IsInvalidationAcknowledged(inv3_id)); |
961 EXPECT_TRUE(IsInvalidationAcknowledged(inv4_id)); | 960 EXPECT_TRUE(IsInvalidationAcknowledged(inv4_id)); |
962 EXPECT_TRUE(IsInvalidationAcknowledged(inv5_id)); | 961 EXPECT_TRUE(IsInvalidationAcknowledged(inv5_id)); |
963 | 962 |
964 EXPECT_TRUE(AllInvalidationsAccountedFor()); | 963 EXPECT_TRUE(AllInvalidationsAccountedFor()); |
965 } | 964 } |
966 | 965 |
967 } // namespace syncer | 966 } // namespace syncer |
OLD | NEW |