OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/device_info/device_count_metrics_provider.h" | 5 #include "components/sync/device_info/device_count_metrics_provider.h" |
6 | 6 |
7 #include <memory> | |
8 #include <string> | 7 #include <string> |
9 #include <vector> | |
10 | 8 |
11 #include "base/bind.h" | 9 #include "base/bind.h" |
12 #include "base/test/histogram_tester.h" | 10 #include "base/test/histogram_tester.h" |
13 #include "components/sync/device_info/device_info.h" | 11 #include "components/sync/device_info/device_info.h" |
14 #include "components/sync/device_info/device_info_tracker.h" | 12 #include "components/sync/device_info/device_info_tracker.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
16 | 14 |
17 namespace syncer { | 15 namespace syncer { |
18 | 16 |
19 namespace { | 17 namespace { |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 } | 93 } |
96 | 94 |
97 TEST_F(DeviceCountMetricsProviderTest, VeryLarge) { | 95 TEST_F(DeviceCountMetricsProviderTest, VeryLarge) { |
98 AddTracker(123456789); | 96 AddTracker(123456789); |
99 TestProvider(100); | 97 TestProvider(100); |
100 } | 98 } |
101 | 99 |
102 } // namespace | 100 } // namespace |
103 | 101 |
104 } // namespace syncer | 102 } // namespace syncer |
OLD | NEW |