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

Issue 7348004: Record language usage as UMA histograms. (Closed)

Created:
9 years, 5 months ago by Yuzo
Modified:
9 years, 5 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., brettw-cc_chromium.org
Visibility:
Public.

Description

Record language usage as UMA histograms. Record accept languages and application language as UMA histograms on browser start-up. See also http://crosbug.com/17419 BUG=none TEST=run the unit tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93360

Patch Set 1 #

Patch Set 2 : Rebased #

Total comments: 28

Patch Set 3 : Addressed 1st set of review comments. #

Patch Set 4 : Removed vectors from the unit tests, added a test for underscore as the separator #

Patch Set 5 : Removed unnecessary iterators from tests #

Total comments: 2

Patch Set 6 : Add DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -0 lines) Patch
M chrome/browser/browser_main.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
A chrome/browser/language_usage_metrics.h View 1 2 1 chunk +48 lines, -0 lines 0 comments Download
A chrome/browser/language_usage_metrics.cc View 1 2 3 4 5 1 chunk +67 lines, -0 lines 0 comments Download
A chrome/browser/language_usage_metrics_unittest.cc View 1 2 3 4 1 chunk +91 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Yusuke Sato
Thank you for working on this quickly. one request: I'm not familiar with UMA systems. ...
9 years, 5 months ago (2011-07-13 06:52:06 UTC) #1
Yuzo
Thank you for the review. http://codereview.chromium.org/7348004/diff/1001/chrome/browser/browser_main.cc File chrome/browser/browser_main.cc (right): http://codereview.chromium.org/7348004/diff/1001/chrome/browser/browser_main.cc#newcode1877 chrome/browser/browser_main.cc:1877: LanguageUsageMetrics::RecordAcceptLanguages( I think it ...
9 years, 5 months ago (2011-07-13 11:30:20 UTC) #2
Yuzo
Jim, Can you review the UMA usage of this patch if you are not on ...
9 years, 5 months ago (2011-07-13 11:33:02 UTC) #3
Yusuke Sato
language_usage_metrics* LGTM
9 years, 5 months ago (2011-07-14 01:54:04 UTC) #4
jar (doing other things)
I had only a small nit/concern (see below). My LGTM is restricted to looking the ...
9 years, 5 months ago (2011-07-18 17:46:30 UTC) #5
Yuzo
Thank you for the review. http://codereview.chromium.org/7348004/diff/11001/chrome/browser/language_usage_metrics.cc File chrome/browser/language_usage_metrics.cc (right): http://codereview.chromium.org/7348004/diff/11001/chrome/browser/language_usage_metrics.cc#newcode16 chrome/browser/language_usage_metrics.cc:16: language, NUM_LANGUAGES); On 2011/07/18 ...
9 years, 5 months ago (2011-07-19 09:17:37 UTC) #6
commit-bot: I haz the power
9 years, 5 months ago (2011-07-21 08:42:09 UTC) #7
Change committed as 93360

Powered by Google App Engine
This is Rietveld 408576698