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

Unified Diff: chrome/browser/profiles/profile_metrics.cc

Issue 345733006: UMA Metrics to track profile deletion, along with signed-in status. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enum for the histogram config Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/profile_metrics.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_metrics.cc
diff --git a/chrome/browser/profiles/profile_metrics.cc b/chrome/browser/profiles/profile_metrics.cc
index d3b1e07155925d1759662ed4474b4728832695e1..1e2d218b623e02ae2c5a4c4ec2697f00dba4ac34 100644
--- a/chrome/browser/profiles/profile_metrics.cc
+++ b/chrome/browser/profiles/profile_metrics.cc
@@ -362,6 +362,10 @@ void ProfileMetrics::LogProfileDesktopMenu(
}
}
+void ProfileMetrics::LogProfileDelete(bool profile_was_signed_in) {
+ UMA_HISTOGRAM_BOOLEAN("Profile.Delete", profile_was_signed_in);
+}
+
#if defined(OS_ANDROID)
void ProfileMetrics::LogProfileAndroidAccountManagementMenu(
ProfileAndroidAccountManagementMenu metric,
« no previous file with comments | « chrome/browser/profiles/profile_metrics.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698