Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(754)

Side by Side Diff: components/browser_watcher/stability_metrics.cc

Issue 2910003002: Stability instrumentation: metrics for collection on crash (Closed)
Patch Set: address rkaplow comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW
« no previous file with comments | « components/browser_watcher/stability_metrics.h ('k') | components/browser_watcher/stability_paths.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698