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

Issue 480113003: Battery Status API: add UMA logging for Linux. (Closed)

Created:
6 years, 4 months ago by timvolodine
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Battery Status API: add UMA logging for Linux. Adds UMA logging to track how many batteries are reported by the system at the start of Battery Status API. BUG= Committed: https://crrev.com/ab7555f4979feef26b9c9c4f9f74aa462ce9927f Cr-Commit-Position: refs/heads/master@{#292398}

Patch Set 1 #

Total comments: 2

Patch Set 2 : switched to UMA_HISTOGRAM_CUSTOM_COUNTS #

Total comments: 1

Patch Set 3 : added enum for "5+" label #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -1 line) Patch
M content/browser/battery_status/battery_status_manager_linux.cc View 1 4 chunks +10 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
timvolodine
6 years, 4 months ago (2014-08-20 11:29:46 UTC) #1
Michael van Ouwerkerk
https://codereview.chromium.org/480113003/diff/1/content/browser/battery_status/battery_status_manager_linux.cc File content/browser/battery_status/battery_status_manager_linux.cc (right): https://codereview.chromium.org/480113003/diff/1/content/browser/battery_status/battery_status_manager_linux.cc#newcode47 content/browser/battery_status/battery_status_manager_linux.cc:47: enum NumberBatteriesType { This seems kind of over-engineered. Can't ...
6 years, 4 months ago (2014-08-21 09:28:18 UTC) #2
timvolodine
https://codereview.chromium.org/480113003/diff/1/content/browser/battery_status/battery_status_manager_linux.cc File content/browser/battery_status/battery_status_manager_linux.cc (right): https://codereview.chromium.org/480113003/diff/1/content/browser/battery_status/battery_status_manager_linux.cc#newcode47 content/browser/battery_status/battery_status_manager_linux.cc:47: enum NumberBatteriesType { On 2014/08/21 09:28:18, Michael van Ouwerkerk ...
6 years, 4 months ago (2014-08-21 14:52:19 UTC) #3
Michael van Ouwerkerk
lgtm
6 years, 4 months ago (2014-08-21 15:21:32 UTC) #4
timvolodine
+ isherman@ : histograms.xml
6 years, 4 months ago (2014-08-21 15:54:56 UTC) #5
Ilya Sherman
LGTM with a suggestion: https://codereview.chromium.org/480113003/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/480113003/diff/20001/tools/metrics/histograms/histograms.xml#newcode1936 tools/metrics/histograms/histograms.xml:1936: + (corresponding to the value ...
6 years, 4 months ago (2014-08-21 17:29:56 UTC) #6
timvolodine
On 2014/08/21 17:29:56, Ilya Sherman wrote: > LGTM with a suggestion: > > https://codereview.chromium.org/480113003/diff/20001/tools/metrics/histograms/histograms.xml > ...
6 years, 4 months ago (2014-08-21 17:43:18 UTC) #7
Michael van Ouwerkerk
On 2014/08/21 17:43:18, timvolodine wrote: > On 2014/08/21 17:29:56, Ilya Sherman wrote: > > LGTM ...
6 years, 4 months ago (2014-08-21 18:13:47 UTC) #8
Ilya Sherman
On 2014/08/21 18:13:47, Michael van Ouwerkerk wrote: > On 2014/08/21 17:43:18, timvolodine wrote: > > ...
6 years, 4 months ago (2014-08-22 03:34:04 UTC) #9
timvolodine
On 2014/08/22 03:34:04, Ilya Sherman wrote: > On 2014/08/21 18:13:47, Michael van Ouwerkerk wrote: > ...
6 years, 4 months ago (2014-08-22 13:05:55 UTC) #10
Ilya Sherman
(Still lgtm)
6 years, 4 months ago (2014-08-22 20:29:32 UTC) #11
timvolodine
On 2014/08/22 20:29:32, Ilya Sherman wrote: > (Still lgtm) :) thanks!
6 years, 3 months ago (2014-08-28 15:44:26 UTC) #12
timvolodine
The CQ bit was checked by timvolodine@chromium.org
6 years, 3 months ago (2014-08-28 15:44:29 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timvolodine@chromium.org/480113003/40001
6 years, 3 months ago (2014-08-28 15:44:49 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 4bb71039118874ef0ba08281ac5ee0b84e7fb79d
6 years, 3 months ago (2014-08-28 16:39:46 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:00:05 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ab7555f4979feef26b9c9c4f9f74aa462ce9927f
Cr-Commit-Position: refs/heads/master@{#292398}

Powered by Google App Engine
This is Rietveld 408576698