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

Issue 132453004: Add Profile metric counting to new User Manager. (Closed)

Created:
6 years, 11 months ago by bcwhite
Modified:
6 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add Profile metric counting to new User Manager. BUG=305652 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247979

Patch Set 1 #

Patch Set 2 : addressed review comments #

Patch Set 3 : added stat on number of profile-manager opens #

Total comments: 4

Patch Set 4 : changed profile-manager => User Manager; fixed tracking of opens #

Patch Set 5 : added Mac metrics #

Total comments: 1

Patch Set 6 : move profile action tracking to low-level functions #

Patch Set 7 : fixed compilation issues #

Patch Set 8 : more mac compilation fixes #

Total comments: 8

Patch Set 9 : addressed comments about parameter wrapping #

Patch Set 10 : added new metric information to xml file #

Total comments: 13

Patch Set 11 : addressed minor formatting comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -49 lines) Patch
M chrome/browser/profiles/avatar_menu.h View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/profiles/avatar_menu.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_list_desktop_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_manager_browsertest.cc View 1 2 3 4 5 6 2 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/profiles/profile_metrics.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +16 lines, -2 lines 1 comment Download
M chrome/browser/profiles/profile_metrics.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_window.h View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/profiles/profile_window.cc View 1 2 3 4 5 6 7 8 4 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/profile_menu_controller.mm View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/avatar_menu_bubble_view.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/profile_chooser_view.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/user_manager_view.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +19 lines, -9 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +22 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
bcwhite
Does this cover everything you were thinking of?
6 years, 11 months ago (2014-01-21 20:09:27 UTC) #1
noms (inactive)
Hmm, I don't think those are all the cases. For example, just at first glance: ...
6 years, 11 months ago (2014-01-21 20:23:47 UTC) #2
bcwhite
> Hmm, I don't think those are all the cases. For example, just at first ...
6 years, 11 months ago (2014-01-23 16:40:52 UTC) #3
noms (inactive)
https://codereview.chromium.org/132453004/diff/130001/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/132453004/diff/130001/chrome/browser/profiles/profile_metrics.h#newcode27 chrome/browser/profiles/profile_metrics.h:27: ADD_NEW_USER_MANAGER, // User adds new user from profile-manager What's ...
6 years, 11 months ago (2014-01-23 17:00:57 UTC) #4
bcwhite
https://codereview.chromium.org/132453004/diff/130001/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/132453004/diff/130001/chrome/browser/profiles/profile_metrics.h#newcode27 chrome/browser/profiles/profile_metrics.h:27: ADD_NEW_USER_MANAGER, // User adds new user from profile-manager Globally ...
6 years, 11 months ago (2014-01-23 18:14:05 UTC) #5
bcwhite
asvitkine@chromium.org: Please review changes in chrome/browser/ui/cocoa/ msw@chromium.org: Please review changes in chrome/browser/ui/views/
6 years, 11 months ago (2014-01-24 16:08:33 UTC) #6
Alexei Svitkine (slow)
https://codereview.chromium.org/132453004/diff/250001/chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm File chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm (right): https://codereview.chromium.org/132453004/diff/250001/chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm#newcode205 chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm:205: ProfileMetrics::LogProfileAddNewUser(ProfileMetrics::ADD_NEW_USER_ICON); I think it would be better for these ...
6 years, 11 months ago (2014-01-24 16:16:33 UTC) #7
bcwhite
On 2014/01/24 16:16:33, Alexei Svitkine wrote: > https://codereview.chromium.org/132453004/diff/250001/chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm > File chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm (right): > > https://codereview.chromium.org/132453004/diff/250001/chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm#newcode205 ...
6 years, 10 months ago (2014-01-28 14:15:27 UTC) #8
Alexei Svitkine (slow)
Some style comments below. Also, it seems you forgot to include the corresponding changes to ...
6 years, 10 months ago (2014-01-28 16:25:30 UTC) #9
bcwhite
The histogram update is a different CL because all of these metrics are in the ...
6 years, 10 months ago (2014-01-28 17:03:02 UTC) #10
Alexei Svitkine (slow)
Can you move the metrics over to the open source histogram file in a separate ...
6 years, 10 months ago (2014-01-28 17:26:47 UTC) #11
bcwhite
On 2014/01/28 17:26:47, Alexei Svitkine wrote: > Can you move the metrics over to the ...
6 years, 10 months ago (2014-01-29 16:31:56 UTC) #12
Alexei Svitkine (slow)
lgtm
6 years, 10 months ago (2014-01-29 16:45:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bcwhite@chromium.org/132453004/440001
6 years, 10 months ago (2014-01-29 16:55:44 UTC) #14
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=46995
6 years, 10 months ago (2014-01-29 17:28:42 UTC) #15
noms (inactive)
lgtm
6 years, 10 months ago (2014-01-29 17:33:03 UTC) #16
bcwhite
msw, can you take a look at the /views/ changes?
6 years, 10 months ago (2014-01-29 17:34:24 UTC) #17
msw
LGTM with some minor comments/nits. https://codereview.chromium.org/132453004/diff/440001/chrome/browser/profiles/profile_list_desktop_browsertest.cc File chrome/browser/profiles/profile_list_desktop_browsertest.cc (right): https://codereview.chromium.org/132453004/diff/440001/chrome/browser/profiles/profile_list_desktop_browsertest.cc#newcode121 chrome/browser/profiles/profile_list_desktop_browsertest.cc:121: ProfileMetrics::SWITCH_PROFILE_ICON); optional nit: you ...
6 years, 10 months ago (2014-01-29 17:51:57 UTC) #18
bcwhite
https://codereview.chromium.org/132453004/diff/440001/chrome/browser/profiles/profile_list_desktop_browsertest.cc File chrome/browser/profiles/profile_list_desktop_browsertest.cc (right): https://codereview.chromium.org/132453004/diff/440001/chrome/browser/profiles/profile_list_desktop_browsertest.cc#newcode121 chrome/browser/profiles/profile_list_desktop_browsertest.cc:121: ProfileMetrics::SWITCH_PROFILE_ICON); On 2014/01/29 17:51:58, msw wrote: > optional nit: ...
6 years, 10 months ago (2014-01-29 19:50:52 UTC) #19
msw
LGTM with a nit. https://codereview.chromium.org/132453004/diff/460001/chrome/browser/profiles/profile_metrics.h File chrome/browser/profiles/profile_metrics.h (right): https://codereview.chromium.org/132453004/diff/460001/chrome/browser/profiles/profile_metrics.h#newcode40 chrome/browser/profiles/profile_metrics.h:40: SWITCH_PROFILE_UNLOCK, // User switches to ...
6 years, 10 months ago (2014-01-29 21:08:47 UTC) #20
bcwhite
On 2014/01/29 21:08:47, msw wrote: > LGTM with a nit. > > https://codereview.chromium.org/132453004/diff/460001/chrome/browser/profiles/profile_metrics.h > File ...
6 years, 10 months ago (2014-01-30 13:58:03 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bcwhite@chromium.org/132453004/460001
6 years, 10 months ago (2014-01-30 13:58:26 UTC) #22
commit-bot: I haz the power
Change committed as 247979
6 years, 10 months ago (2014-01-30 17:41:59 UTC) #23
commit-bot: I haz the power
6 years, 10 months ago (2014-01-30 17:42:03 UTC) #24
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698