OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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. |
| 4 |
| 5 #include "components/browser_watcher/stability_metrics.h" |
| 6 |
| 7 #include "base/metrics/histogram_macros.h" |
| 8 |
| 9 namespace browser_watcher { |
| 10 |
| 11 void LogCollectOnCrashEvent(CollectOnCrashEvent event) { |
| 12 UMA_HISTOGRAM_ENUMERATION("ActivityTracker.CollectCrash.Event", event, |
| 13 CollectOnCrashEvent::kCollectOnCrashEventMax); |
| 14 } |
| 15 |
| 16 void LogStabilityRecordEvent(StabilityRecordEvent event) { |
| 17 UMA_HISTOGRAM_ENUMERATION("ActivityTracker.Record.Event", event, |
| 18 StabilityRecordEvent::kStabilityRecordEventMax); |
| 19 } |
| 20 |
| 21 } // namespace browser_watcher |
OLD | NEW |