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

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
« no previous file with comments | « no previous file | chrome/browser/views/infobars/translate_infobars.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « no previous file | chrome/browser/views/infobars/translate_infobars.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698