Index: chrome/browser/profiles/profile_manager.cc |
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc |
index b48c2ac2d725d51bc262d6f2bb085e1ab01ef5f8..7888c9ada10a776639488c09519618789af131a8 100644 |
--- a/chrome/browser/profiles/profile_manager.cc |
+++ b/chrome/browser/profiles/profile_manager.cc |
@@ -949,6 +949,9 @@ void ProfileManager::OnProfileCreated(Profile* profile, |
} else { |
profile = NULL; |
profiles_info_.erase(iter); |
+ // TODO(yiyaoliu): This is temporary, remove it after it's not used. |
+ UMA_HISTOGRAM_COUNTS_100("UMA.ProfilesCount.AfterErase", |
+ profiles_info_.size()); |
} |
if (profile) { |