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

Issue 276433003: UMA metrics added for HID detection dialog. (Closed)

Created:
6 years, 7 months ago by merkulova
Modified:
6 years, 7 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org, jar (doing other things)
Visibility:
Public.

Description

UMA metrics added for HID detection dialog. BUG=366850 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272526

Patch Set 1 #

Total comments: 6

Patch Set 2 : Switched to bool histogram. Added Continue-scenario and HIDShows per OOBE completion histograms. #

Total comments: 8

Patch Set 3 : Unused removed. Pref renamed. #

Total comments: 8

Patch Set 4 : Refactored. #

Total comments: 14

Patch Set 5 : Style fixes #

Total comments: 2

Patch Set 6 : Comments added. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -14 lines) Patch
M chrome/browser/chromeos/login/wizard_controller.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h View 1 2 3 4 5 5 chunks +39 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc View 1 2 3 4 8 chunks +67 lines, -13 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
merkulova
6 years, 7 months ago (2014-05-07 11:56:30 UTC) #1
ygorshenin1
https://codereview.chromium.org/276433003/diff/1/chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc (right): https://codereview.chromium.org/276433003/diff/1/chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc#newcode380 chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc:380: base::UserMetricsAction("OOBE.HIDDetectionDialogShown")); Consider to use HISTOGRAM_BOOLEAN. https://codereview.chromium.org/276433003/diff/1/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): ...
6 years, 7 months ago (2014-05-08 11:50:08 UTC) #2
merkulova
+mnissler@ for browser_prefs.cc It's discussable do we need boolean histogram recording HID-detection screen shows as ...
6 years, 7 months ago (2014-05-12 10:22:59 UTC) #3
Mattias Nissler (ping if slow)
The prefs stuff LGTM, but please also consider my comments on files not related to ...
6 years, 7 months ago (2014-05-12 11:10:02 UTC) #4
merkulova
Mattias, thanks for looking through the full CL. https://codereview.chromium.org/276433003/diff/20001/chrome/browser/chromeos/login/wizard_controller.cc File chrome/browser/chromeos/login/wizard_controller.cc (right): https://codereview.chromium.org/276433003/diff/20001/chrome/browser/chromeos/login/wizard_controller.cc#newcode715 chrome/browser/chromeos/login/wizard_controller.cc:715: GetLocalState()->GetInteger(prefs::kTimesHIDDialogShown)); ...
6 years, 7 months ago (2014-05-13 07:18:00 UTC) #5
ygorshenin1
https://codereview.chromium.org/276433003/diff/40001/chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc (right): https://codereview.chromium.org/276433003/diff/40001/chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc#newcode130 chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc:130: // static Move this method after OnInputDeviceRemoved() (follow the ...
6 years, 7 months ago (2014-05-14 09:35:35 UTC) #6
merkulova
+asvitkine@ for histograms.xml file https://codereview.chromium.org/276433003/diff/40001/chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc (right): https://codereview.chromium.org/276433003/diff/40001/chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc#newcode130 chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc:130: // static On 2014/05/14 09:35:36, ...
6 years, 7 months ago (2014-05-14 13:11:05 UTC) #7
Alexei Svitkine (slow)
https://codereview.chromium.org/276433003/diff/60001/chrome/browser/chromeos/login/reset_browsertest.cc File chrome/browser/chromeos/login/reset_browsertest.cc (right): https://codereview.chromium.org/276433003/diff/60001/chrome/browser/chromeos/login/reset_browsertest.cc#newcode79 chrome/browser/chromeos/login/reset_browsertest.cc:79: ASSERT_TRUE(JSExecuted("$('rHistogHistograHistogeset-button').click();")); Is this change intentional? https://codereview.chromium.org/276433003/diff/60001/chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc File chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc (right): ...
6 years, 7 months ago (2014-05-14 14:57:48 UTC) #8
merkulova
https://codereview.chromium.org/276433003/diff/60001/chrome/browser/chromeos/login/reset_browsertest.cc File chrome/browser/chromeos/login/reset_browsertest.cc (right): https://codereview.chromium.org/276433003/diff/60001/chrome/browser/chromeos/login/reset_browsertest.cc#newcode79 chrome/browser/chromeos/login/reset_browsertest.cc:79: ASSERT_TRUE(JSExecuted("$('rHistogHistograHistogeset-button').click();")); On 2014/05/14 14:57:48, Alexei Svitkine wrote: > Is ...
6 years, 7 months ago (2014-05-22 12:02:32 UTC) #9
ygorshenin1
lgtm https://codereview.chromium.org/276433003/diff/70001/chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h File chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h (right): https://codereview.chromium.org/276433003/diff/70001/chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h#newcode118 chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h:118: void OnGetInputDevicesListFirstTime( nit: add a short comment to ...
6 years, 7 months ago (2014-05-22 12:08:34 UTC) #10
merkulova
https://codereview.chromium.org/276433003/diff/70001/chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h File chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h (right): https://codereview.chromium.org/276433003/diff/70001/chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h#newcode118 chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h:118: void OnGetInputDevicesListFirstTime( On 2014/05/22 12:08:35, ygorshenin1 wrote: > nit: ...
6 years, 7 months ago (2014-05-22 12:17:29 UTC) #11
Alexei Svitkine (slow)
LGTM
6 years, 7 months ago (2014-05-22 13:18:16 UTC) #12
merkulova
The CQ bit was checked by merkulova@chromium.org
6 years, 7 months ago (2014-05-23 12:29:05 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/merkulova@chromium.org/276433003/90001
6 years, 7 months ago (2014-05-23 12:29:15 UTC) #14
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 14:56:29 UTC) #15
Message was sent while issue was closed.
Change committed as 272526

Powered by Google App Engine
This is Rietveld 408576698