Stack sampling profiler: add fire-and-forget interface
[chromium-blink-merge.git] / components / metrics / metrics_provider.cc
blobfb9f93140761483cfee7d2749bc2e950974d618a
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.
5 #include "components/metrics/metrics_provider.h"
7 namespace metrics {
9 MetricsProvider::MetricsProvider() {
12 MetricsProvider::~MetricsProvider() {
15 void MetricsProvider::OnDidCreateMetricsLog() {
18 void MetricsProvider::OnRecordingEnabled() {
21 void MetricsProvider::OnRecordingDisabled() {
24 void MetricsProvider::ProvideSystemProfileMetrics(
25 SystemProfileProto* system_profile_proto) {
28 bool MetricsProvider::HasInitialStabilityMetrics() {
29 return false;
32 void MetricsProvider::ProvideInitialStabilityMetrics(
33 SystemProfileProto* system_profile_proto) {
36 void MetricsProvider::ProvideStabilityMetrics(
37 SystemProfileProto* system_profile_proto) {
40 void MetricsProvider::ClearSavedStabilityMetrics() {
43 void MetricsProvider::ProvideGeneralMetrics(
44 ChromeUserMetricsExtension* uma_proto) {
47 } // namespace metrics