OLD | NEW |
(Empty) | |
| 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 |
| 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> |
| 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 |