Index: chrome/browser/ui/webui/app_launcher_login_handler.cc |
diff --git a/chrome/browser/ui/webui/app_launcher_login_handler.cc b/chrome/browser/ui/webui/app_launcher_login_handler.cc |
index e003c093f575c610ee950b93a375913b82dc7414..f17b1182583cf8f43a7c90585274bc242596b37a 100644 |
--- a/chrome/browser/ui/webui/app_launcher_login_handler.cc |
+++ b/chrome/browser/ui/webui/app_launcher_login_handler.cc |
@@ -139,15 +139,9 @@ void AppLauncherLoginHandler::HandleShowSyncLoginUI( |
RecordInHistogram(NTP_SIGN_IN_PROMO_CLICKED); |
} |
-void AppLauncherLoginHandler::RecordInHistogram(int type) { |
- // Invalid type to record. |
- if (type < NTP_SIGN_IN_PROMO_VIEWED || |
- type > NTP_SIGN_IN_PROMO_CLICKED) { |
- NOTREACHED(); |
- } else { |
- UMA_HISTOGRAM_ENUMERATION("SyncPromo.NTPPromo", type, |
- NTP_SIGN_IN_PROMO_BUCKET_BOUNDARY); |
- } |
+void AppLauncherLoginHandler::RecordInHistogram(NTPSignInPromoBuckets type) { |
+ UMA_HISTOGRAM_ENUMERATION("SyncPromo.NTPPromo", type, |
+ NTP_SIGN_IN_PROMO_BUCKET_BOUNDARY); |
} |
void AppLauncherLoginHandler::HandleLoginMessageSeen( |