| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/metrics/test_metrics_provider.h" | 5 #include "components/metrics/test_metrics_provider.h" |
| 6 | 6 |
| 7 #include "base/metrics/histogram_macros.h" | 7 #include "base/metrics/histogram_macros.h" |
| 8 | 8 |
| 9 namespace metrics { | 9 namespace metrics { |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 UMA_STABILITY_HISTOGRAM_ENUMERATION("TestMetricsProvider.Initial", 1, 2); | 26 UMA_STABILITY_HISTOGRAM_ENUMERATION("TestMetricsProvider.Initial", 1, 2); |
| 27 provide_initial_stability_metrics_called_ = true; | 27 provide_initial_stability_metrics_called_ = true; |
| 28 } | 28 } |
| 29 | 29 |
| 30 void TestMetricsProvider::ProvideStabilityMetrics( | 30 void TestMetricsProvider::ProvideStabilityMetrics( |
| 31 SystemProfileProto* system_profile_proto) { | 31 SystemProfileProto* system_profile_proto) { |
| 32 UMA_STABILITY_HISTOGRAM_ENUMERATION("TestMetricsProvider.Regular", 1, 2); | 32 UMA_STABILITY_HISTOGRAM_ENUMERATION("TestMetricsProvider.Regular", 1, 2); |
| 33 provide_stability_metrics_called_ = true; | 33 provide_stability_metrics_called_ = true; |
| 34 } | 34 } |
| 35 | 35 |
| 36 void TestMetricsProvider::ProvideSystemProfileMetrics( |
| 37 SystemProfileProto* system_profile_proto) { |
| 38 provide_system_profile_metrics_called_ = true; |
| 39 } |
| 40 |
| 36 } // namespace metrics | 41 } // namespace metrics |
| OLD | NEW |