blob: 3998142ffb097ddae67337042e84f474469d8c17 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/browser_watcher/stability_metrics.h"
#include "base/metrics/histogram_functions.h"
namespace browser_watcher {
void LogCollectOnCrashEvent(CollectOnCrashEvent event) {
base::UmaHistogramEnumeration("ActivityTracker.CollectCrash.Event", event,
CollectOnCrashEvent::kCollectOnCrashEventMax);
}
void LogStabilityRecordEvent(StabilityRecordEvent event) {
base::UmaHistogramEnumeration("ActivityTracker.Record.Event", event,
StabilityRecordEvent::kStabilityRecordEventMax);
}
} // namespace browser_watcher