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

Issue 11280112: UMA for Windows 8 Secondary Tile pinning/unpinning user actions (Closed)

Created:
8 years, 1 month ago by tapted
Modified:
8 years ago
CC:
chromium-reviews, koz (OOO until 15th September), jeremya
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

UMA for Windows 8 Secondary Tile pinning/unpinning user actions triggered from hotdog -> Bookmarks when in Metro mode. To perform the metrics recording, this CL includes changes to provide a callback mechanism for the asynchronous tile creation in metro_driver.dll to report back the result of the use gesture to the browser process. Note that both metro_driver.dll and chrome.dll link statically to base, so they have distinct data segments holding UMA histograms, hence the callback. BUG=160840 TEST=In Windows 8 Metro Mode, Hotdog -> Bookmarks -> Pin to start page: - pin and cancel (escape/click/touch off popup) - pin and confirm - (when pinned) unpin and cancel - unpin and confirm Above should all work (and report UMA histogram data). Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170916

Patch Set 1 #

Patch Set 2 : use histograms to track pin lifecycle #

Patch Set 3 : need to decouple create and delete #

Patch Set 4 : base is statically linked to metro_driver.dll -- use a callback #

Patch Set 5 : no longer need to share this histogram name constant #

Total comments: 19

Patch Set 6 : reviewer comments #

Total comments: 6

Patch Set 7 : **fails presubmit** make secondary_tile_types.h, +review comments #

Total comments: 6

Patch Set 8 : types back to base/win/metro.h, pass callback by const-reference, Uma, reviewer comments #

Total comments: 5

Patch Set 9 : reviewer comments #

Total comments: 2

Patch Set 10 : update member function comment #

Total comments: 2

Patch Set 11 : add TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -50 lines) Patch
M base/win/metro.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +39 lines, -0 lines 0 comments Download
M chrome/browser/ui/metro_pin_tab_helper_win.cc View 1 2 3 4 5 6 7 7 chunks +33 lines, -9 lines 0 comments Download
M win8/metro_driver/chrome_app_view.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M win8/metro_driver/chrome_app_view.cc View 1 2 3 1 chunk +0 lines, -14 lines 0 comments Download
M win8/metro_driver/secondary_tile.h View 1 2 3 4 5 6 7 1 chunk +10 lines, -6 lines 0 comments Download
M win8/metro_driver/secondary_tile.cc View 1 2 3 4 5 6 7 8 9 4 chunks +105 lines, -18 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
tapted
@benwells for initial review (and to possibly suggest some windows 8 gurus)
8 years ago (2012-11-27 05:03:10 UTC) #1
benwells
Great to see this all working and almost there! https://codereview.chromium.org/11280112/diff/4005/base/win/metro.h File base/win/metro.h (right): https://codereview.chromium.org/11280112/diff/4005/base/win/metro.h#newcode40 base/win/metro.h:40: ...
8 years ago (2012-11-27 08:56:39 UTC) #2
tapted
Let me know what you think about the plans below for moving things out of ...
8 years ago (2012-11-28 00:33:42 UTC) #3
benwells
I've added mad@ as a reviewer as I heard a rumour he has done metro ...
8 years ago (2012-11-29 04:19:45 UTC) #4
tapted
https://codereview.chromium.org/11280112/diff/4005/base/win/metro.h File base/win/metro.h (right): https://codereview.chromium.org/11280112/diff/4005/base/win/metro.h#newcode40 base/win/metro.h:40: // Enum values for UMA histogram reporting of site-specific ...
8 years ago (2012-11-29 07:19:27 UTC) #5
MAD
we should not add a dependency from src\chrome to src\win8. If you want to keep ...
8 years ago (2012-11-29 15:26:18 UTC) #6
benwells
On 2012/11/29 15:26:18, MAD wrote: > we should not add a dependency from src\chrome to ...
8 years ago (2012-11-29 18:23:06 UTC) #7
tapted
types have moved back to base/win/metro.h; named to include 'Uma' where appropriate. I've also made ...
8 years ago (2012-11-30 00:30:31 UTC) #8
benwells
https://codereview.chromium.org/11280112/diff/10010/win8/metro_driver/chrome_app_view.cc File win8/metro_driver/chrome_app_view.cc (left): https://codereview.chromium.org/11280112/diff/10010/win8/metro_driver/chrome_app_view.cc#oldcode309 win8/metro_driver/chrome_app_view.cc:309: winfoundtn::IAsyncOperation<bool>* async, I like that this is gone from ...
8 years ago (2012-11-30 01:16:47 UTC) #9
tapted
https://codereview.chromium.org/11280112/diff/10010/win8/metro_driver/secondary_tile.cc File win8/metro_driver/secondary_tile.cc (right): https://codereview.chromium.org/11280112/diff/10010/win8/metro_driver/secondary_tile.cc#newcode22 win8/metro_driver/secondary_tile.cc:22: class TileRequestDone { On 2012/11/30 01:16:47, benwells wrote: > ...
8 years ago (2012-11-30 05:54:18 UTC) #10
benwells
lgtm
8 years ago (2012-11-30 17:59:55 UTC) #11
MAD
LGTM with one small request... Thanks! BYE MAD https://codereview.chromium.org/11280112/diff/12013/win8/metro_driver/secondary_tile.cc File win8/metro_driver/secondary_tile.cc (right): https://codereview.chromium.org/11280112/diff/12013/win8/metro_driver/secondary_tile.cc#newcode34 win8/metro_driver/secondary_tile.cc:34: HRESULT ...
8 years ago (2012-11-30 18:18:37 UTC) #12
benwells
Check out this CL which is introducing win8/util, which /content and /printing will depend on. ...
8 years ago (2012-11-30 18:56:31 UTC) #13
tapted
On 2012/11/30 18:56:31, benwells wrote: > Check out this CL which is introducing win8/util, which ...
8 years ago (2012-12-03 02:58:15 UTC) #14
benwells
On 2012/12/03 02:58:15, tapted wrote: > On 2012/11/30 18:56:31, benwells wrote: > > Check out ...
8 years ago (2012-12-03 06:01:27 UTC) #15
tapted
+cpu,sky could you please take a look for OWNERS sky for chrome/browser/ui https://codereview.chromium.org/11280112/diff/8019/chrome/browser/ui/metro_pin_tab_helper_win.cc cpu for ...
8 years ago (2012-12-03 11:27:13 UTC) #16
sky
LGTM
8 years ago (2012-12-03 16:13:13 UTC) #17
cpu_(ooo_6.6-7.5)
lgtm https://codereview.chromium.org/11280112/diff/8019/base/win/metro.h File base/win/metro.h (right): https://codereview.chromium.org/11280112/diff/8019/base/win/metro.h#newcode41 base/win/metro.h:41: // Enum values for UMA histogram reporting of ...
8 years ago (2012-12-04 00:46:50 UTC) #18
tapted
https://codereview.chromium.org/11280112/diff/8019/base/win/metro.h File base/win/metro.h (right): https://codereview.chromium.org/11280112/diff/8019/base/win/metro.h#newcode41 base/win/metro.h:41: // Enum values for UMA histogram reporting of site-specific ...
8 years ago (2012-12-04 03:04:11 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tapted@chromium.org/11280112/6020
8 years ago (2012-12-04 03:05:15 UTC) #20
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests
8 years ago (2012-12-04 06:08:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tapted@chromium.org/11280112/6020
8 years ago (2012-12-04 08:50:00 UTC) #22
commit-bot: I haz the power
8 years ago (2012-12-04 09:48:55 UTC) #23
Message was sent while issue was closed.
Change committed as 170916

Powered by Google App Engine
This is Rietveld 408576698