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 "chromecast/metrics/cast_metrics_service_client.h" | 5 #include "chromecast/browser/metrics/cast_metrics_service_client.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/prefs/testing_pref_service.h" | 10 #include "base/prefs/testing_pref_service.h" |
11 #include "components/metrics/metrics_service.h" | 11 #include "components/metrics/metrics_service.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 | 13 |
14 namespace chromecast { | 14 namespace chromecast { |
15 | 15 |
(...skipping 20 matching lines...) Expand all Loading... |
36 | 36 |
37 DISALLOW_COPY_AND_ASSIGN(CastMetricsTest); | 37 DISALLOW_COPY_AND_ASSIGN(CastMetricsTest); |
38 }; | 38 }; |
39 | 39 |
40 TEST_F(CastMetricsTest, CreateMetricsServiceClient) { | 40 TEST_F(CastMetricsTest, CreateMetricsServiceClient) { |
41 // Create and expect this to not crash. | 41 // Create and expect this to not crash. |
42 metrics::CastMetricsServiceClient::Create(task_runner(), prefs(), NULL); | 42 metrics::CastMetricsServiceClient::Create(task_runner(), prefs(), NULL); |
43 } | 43 } |
44 | 44 |
45 } // namespace chromecast | 45 } // namespace chromecast |
OLD | NEW |