Upstream version 10.38.208.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / profiles / profile_manager.cc
index 9d410c5..bf18085 100644 (file)
@@ -695,6 +695,9 @@ void ProfileManager::ScheduleProfileForDeletion(
                          new_profile_name,
                          new_avatar_url,
                          std::string());
+
+      ProfileMetrics::LogProfileAddNewUser(
+          ProfileMetrics::ADD_NEW_USER_LAST_DELETED);
     } else {
       // On the Mac, the browser process is not killed when all browser windows
       // are closed, so just in case we are deleting the active profile, and no