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

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

Issue 605333002: Record the number of loaded profiles when a profile is erased from the profiles map kept by profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | tools/metrics/histograms/histograms.xml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_manager.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index 42e766281224d301079dd4a37536521fec7f63d0..ed78fff3e9579b2066defbba9d955cff0958018b 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -958,6 +958,7 @@ void ProfileManager::OnProfileCreated(Profile* profile,
} else {
profile = NULL;
profiles_info_.erase(iter);
Alexei Svitkine (slow) 2014/09/26 20:30:26 If the plan is for this to be temporary, add a TOD
yao 2014/09/26 20:35:40 Done.
+ UMA_HISTOGRAM_COUNTS("UMA.ProfilesCount", profiles_info_.size());
Alexei Svitkine (slow) 2014/09/26 20:30:26 Let's do UMA_HISTOGRAM_COUNTS_100().
yao 2014/09/26 20:35:40 Done.
}
if (profile) {
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698