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

Issue 26373009: ash:Shelf - Added UMA stats for ShelfAlignment (Closed)

Created:
7 years, 2 months ago by Harry McCleave
Modified:
5 years, 2 months ago
Reviewers:
James Cook
CC:
chromium-reviews, sadrul, jar (doing other things), asvitkine+watch_chromium.org, kalyank, ben+aura_chromium.org, Ilya Sherman
Visibility:
Public.

Description

Adding 2 simple UMA stats to track shelf alignment usage, firstly track when a shelf alignment is changed (rare), and during usage of the shelf launcher (buttons on the shelf) track the current alignment (more common) to provide some data on how frequent usage is of the various alignments. BUG=298174 TBR=askvitkine@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235904

Patch Set 1 #

Patch Set 2 : added hash/key for new UMA metric #

Patch Set 3 : more specific UMA counts #

Total comments: 1

Patch Set 4 : Added time based query #

Patch Set 5 : ws #

Total comments: 2

Patch Set 6 : Added AshPeriodicMetricsRecorder #

Patch Set 7 : copywrite header #

Total comments: 14

Patch Set 8 : nits & things #

Total comments: 3

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -0 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
A ash/periodic_metrics_recorder.h View 1 2 3 4 5 6 7 8 1 chunk +29 lines, -0 lines 0 comments Download
A ash/periodic_metrics_recorder.cc View 1 2 3 4 5 6 7 8 9 1 chunk +43 lines, -0 lines 0 comments Download
M ash/shelf/shelf_alignment_menu.cc View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M ash/shelf/shelf_view.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M ash/shelf/shelf_view.cc View 1 2 3 4 5 6 7 8 3 chunks +13 lines, -0 lines 0 comments Download
M ash/shell.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ash/shell_delegate.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
M tools/metrics/actions/chromeactions.txt View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Harry McCleave
ptal
7 years, 2 months ago (2013-10-16 23:03:46 UTC) #1
James Cook
https://codereview.chromium.org/26373009/diff/6001/ash/launcher/launcher_view.cc File ash/launcher/launcher_view.cc (right): https://codereview.chromium.org/26373009/diff/6001/ash/launcher/launcher_view.cc#newcode1563 ash/launcher/launcher_view.cc:1563: UMA_HISTOGRAM_ENUMERATION("Ash.ShelfAlignmentUsage", This feels like the wrong way to do ...
7 years, 2 months ago (2013-10-16 23:35:27 UTC) #2
Harry McCleave
On 2013/10/16 23:35:27, James Cook wrote: > https://codereview.chromium.org/26373009/diff/6001/ash/launcher/launcher_view.cc > File ash/launcher/launcher_view.cc (right): > > https://codereview.chromium.org/26373009/diff/6001/ash/launcher/launcher_view.cc#newcode1563 ...
7 years, 1 month ago (2013-10-30 00:02:42 UTC) #3
James Cook
https://codereview.chromium.org/26373009/diff/52001/ash/shelf/shelf_view.cc File ash/shelf/shelf_view.cc (right): https://codereview.chromium.org/26373009/diff/52001/ash/shelf/shelf_view.cc#newcode1895 ash/shelf/shelf_view.cc:1895: UMA_HISTOGRAM_ENUMERATION(histogram_name, This won't work. UMA_HISTOGRAM_ENUMERATION does some magic with ...
7 years, 1 month ago (2013-10-30 16:49:12 UTC) #4
Harry McCleave
On 2013/10/30 16:49:12, James Cook wrote: > https://codereview.chromium.org/26373009/diff/52001/ash/shelf/shelf_view.cc > File ash/shelf/shelf_view.cc (right): > > https://codereview.chromium.org/26373009/diff/52001/ash/shelf/shelf_view.cc#newcode1895 ...
7 years, 1 month ago (2013-11-01 00:17:32 UTC) #5
James Cook
Mostly nits. https://codereview.chromium.org/26373009/diff/122001/ash/ash.gyp File ash/ash.gyp (right): https://codereview.chromium.org/26373009/diff/122001/ash/ash.gyp#newcode75 ash/ash.gyp:75: 'ash_periodic_metrics_recorder.cc', This file doesn't need to have ...
7 years, 1 month ago (2013-11-01 00:28:50 UTC) #6
James Cook
Oh, and I like this much better. :-)
7 years, 1 month ago (2013-11-01 00:29:55 UTC) #7
Harry McCleave
https://codereview.chromium.org/26373009/diff/122001/ash/ash.gyp File ash/ash.gyp (right): https://codereview.chromium.org/26373009/diff/122001/ash/ash.gyp#newcode75 ash/ash.gyp:75: 'ash_periodic_metrics_recorder.cc', On 2013/11/01 00:28:51, James Cook wrote: > This ...
7 years, 1 month ago (2013-11-01 01:00:37 UTC) #8
James Cook
LGTM with a couple suggestions https://codereview.chromium.org/26373009/diff/202001/ash/periodic_metrics_recorder.h File ash/periodic_metrics_recorder.h (right): https://codereview.chromium.org/26373009/diff/202001/ash/periodic_metrics_recorder.h#newcode12 ash/periodic_metrics_recorder.h:12: class AshPeriodicMetricsRecorder { Just ...
7 years, 1 month ago (2013-11-01 05:06:27 UTC) #9
James Cook
btw, varkha might have a use for periodic metrics collection in https://codereview.chromium.org/45343003/
7 years, 1 month ago (2013-11-05 17:55:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/harrym@chromium.org/26373009/302001
7 years, 1 month ago (2013-11-18 18:46:55 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=225990
7 years, 1 month ago (2013-11-18 23:34:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/harrym@chromium.org/26373009/302001
7 years, 1 month ago (2013-11-19 02:24:37 UTC) #13
commit-bot: I haz the power
7 years, 1 month ago (2013-11-19 03:58:58 UTC) #14
Message was sent while issue was closed.
Change committed as 235904

Powered by Google App Engine
This is Rietveld 408576698