OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/invalidation/impl/p2p_invalidator.h" | 5 #include "components/invalidation/impl/p2p_invalidator.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <cstddef> | 9 #include <cstddef> |
8 | 10 |
9 #include "components/invalidation/impl/fake_invalidation_handler.h" | 11 #include "components/invalidation/impl/fake_invalidation_handler.h" |
10 #include "components/invalidation/impl/invalidator_test_template.h" | 12 #include "components/invalidation/impl/invalidator_test_template.h" |
11 #include "components/invalidation/impl/notifier_reason_util.h" | 13 #include "components/invalidation/impl/notifier_reason_util.h" |
12 #include "components/invalidation/public/invalidator_state.h" | 14 #include "components/invalidation/public/invalidator_state.h" |
13 #include "jingle/notifier/listener/fake_push_client.h" | 15 #include "jingle/notifier/listener/fake_push_client.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
15 | 17 |
16 namespace syncer { | 18 namespace syncer { |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 EXPECT_EQ(5, fake_handler_.GetInvalidationCount()); | 351 EXPECT_EQ(5, fake_handler_.GetInvalidationCount()); |
350 } | 352 } |
351 | 353 |
352 INSTANTIATE_TYPED_TEST_CASE_P( | 354 INSTANTIATE_TYPED_TEST_CASE_P( |
353 P2PInvalidatorTest, InvalidatorTest, | 355 P2PInvalidatorTest, InvalidatorTest, |
354 P2PInvalidatorTestDelegate); | 356 P2PInvalidatorTestDelegate); |
355 | 357 |
356 } // namespace | 358 } // namespace |
357 | 359 |
358 } // namespace syncer | 360 } // namespace syncer |
OLD | NEW |