| 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 "components/metrics/metrics_provider.h" | 5 #include "components/metrics/metrics_provider.h" |
| 6 | 6 |
| 7 namespace metrics { | 7 namespace metrics { |
| 8 | 8 |
| 9 MetricsProvider::MetricsProvider() { | 9 MetricsProvider::MetricsProvider() { |
| 10 } | 10 } |
| 11 | 11 |
| 12 MetricsProvider::~MetricsProvider() { | 12 MetricsProvider::~MetricsProvider() { |
| 13 } | 13 } |
| 14 | 14 |
| 15 void MetricsProvider::Init() { | 15 void MetricsProvider::Init() { |
| 16 } | 16 } |
| 17 | 17 |
| 18 void MetricsProvider::OnDidCreateMetricsLog() { | 18 void MetricsProvider::OnDidCreateMetricsLog() { |
| 19 } | 19 } |
| 20 | 20 |
| 21 void MetricsProvider::OnRecordingEnabled() { | 21 void MetricsProvider::OnRecordingEnabled() { |
| 22 } | 22 } |
| 23 | 23 |
| 24 void MetricsProvider::OnRecordingDisabled() { | 24 void MetricsProvider::OnRecordingDisabled() { |
| 25 } | 25 } |
| 26 | 26 |
| 27 void MetricsProvider::OnAppEnterBackground() { | 27 void MetricsProvider::OnAppEnterBackground() { |
| 28 } | 28 } |
| 29 | 29 |
| 30 bool MetricsProvider::ProvideIndependentMetrics( |
| 31 SystemProfileProto* system_profile_proto, |
| 32 base::HistogramSnapshotManager* snapshot_manager) { |
| 33 return false; |
| 34 } |
| 35 |
| 30 void MetricsProvider::ProvideSystemProfileMetrics( | 36 void MetricsProvider::ProvideSystemProfileMetrics( |
| 31 SystemProfileProto* system_profile_proto) { | 37 SystemProfileProto* system_profile_proto) { |
| 32 } | 38 } |
| 33 | 39 |
| 34 bool MetricsProvider::HasInitialStabilityMetrics() { | 40 bool MetricsProvider::HasInitialStabilityMetrics() { |
| 35 return false; | 41 return false; |
| 36 } | 42 } |
| 37 | 43 |
| 38 void MetricsProvider::ProvideInitialStabilityMetrics( | 44 void MetricsProvider::ProvideInitialStabilityMetrics( |
| 39 SystemProfileProto* system_profile_proto) { | 45 SystemProfileProto* system_profile_proto) { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 52 | 58 |
| 53 void MetricsProvider::RecordHistogramSnapshots( | 59 void MetricsProvider::RecordHistogramSnapshots( |
| 54 base::HistogramSnapshotManager* snapshot_manager) { | 60 base::HistogramSnapshotManager* snapshot_manager) { |
| 55 } | 61 } |
| 56 | 62 |
| 57 void MetricsProvider::RecordInitialHistogramSnapshots( | 63 void MetricsProvider::RecordInitialHistogramSnapshots( |
| 58 base::HistogramSnapshotManager* snapshot_manager) { | 64 base::HistogramSnapshotManager* snapshot_manager) { |
| 59 } | 65 } |
| 60 | 66 |
| 61 } // namespace metrics | 67 } // namespace metrics |
| OLD | NEW |