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

Unified Diff: chrome/browser/translate/translate_infobars_delegates.cc

Issue 853010: Adding UMA stats to the translate UI so we can get user usage... (Closed) Base URL: svn://chrome-svn/chrome/branches/249/src/
Patch Set: Created 10 years, 9 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
Index: chrome/browser/translate/translate_infobars_delegates.cc
===================================================================
--- chrome/browser/translate/translate_infobars_delegates.cc (revision 41336)
+++ chrome/browser/translate/translate_infobars_delegates.cc (working copy)
@@ -32,6 +32,7 @@
!language_state.translation_pending()) {
// The user closed the infobar without clicking the translate button.
TranslationDeclined();
+ UMA_HISTOGRAM_COUNTS("Translate.DeclineTranslateCloseInfobar", 1);
}
}

Powered by Google App Engine
This is Rietveld 408576698