Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "components/ukm/ukm_service.h" | |
| 6 | |
| 7 #include <stddef.h> | |
| 8 #include <stdint.h> | |
| 9 | |
| 10 #include <memory> | |
| 11 #include <utility> | |
|
Alexei Svitkine (slow)
2017/01/10 17:37:19
I don't think all these includes should be needed
Steven Holte
2017/01/10 22:52:45
Done.
| |
| 12 | |
| 13 #include "components/metrics/test_metrics_service_client.h" | |
| 14 #include "components/prefs/testing_pref_service.h" | |
| 15 #include "components/ukm/ukm_pref_names.h" | |
| 16 #include "testing/gtest/include/gtest/gtest.h" | |
| 17 | |
| 18 namespace ukm { | |
| 19 | |
| 20 TEST(UkmServiceTest, Construct) { | |
| 21 TestingPrefServiceSimple test_prefs; | |
| 22 metrics::TestMetricsServiceClient test_client; | |
| 23 UkmService service(&test_prefs, &test_client); | |
| 24 } | |
| 25 | |
| 26 } // namespace ukm | |
| OLD | NEW |