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

Unified Diff: metrics_library.h

Issue 6211001: metrics: Send ability to notify chrome of system crashes (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/metrics.git@master
Patch Set: respond to review Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « c_metrics_library.cc ('k') | metrics_library.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: metrics_library.h
diff --git a/metrics_library.h b/metrics_library.h
index ed8386202b9280ca097179483900754a22d3e41d..3f860eb18e17eab194797785ae65cd6d7db05673 100644
--- a/metrics_library.h
+++ b/metrics_library.h
@@ -82,6 +82,10 @@ class MetricsLibrary : public MetricsLibraryInterface {
// |action| is the user-generated event (e.g., "MuteKeyPressed").
bool SendUserActionToUMA(const std::string& action);
+ // Sends a signal to UMA that a crash of the given |crash_kind|
+ // has occurred. Used by UMA to generate stability statistics.
+ bool SendCrashToUMA(const char *crash_kind);
+
// Sends to Autotest and returns true on success.
static bool SendToAutotest(const std::string& name, int value);
« no previous file with comments | « c_metrics_library.cc ('k') | metrics_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698