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

Issue 385983007: Enrollment recovery: Add UMA stats. (Closed)

Created:
6 years, 5 months ago by Thiemo Nagel
Modified:
6 years, 5 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, arv+watch_chromium.org, asvitkine+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Enrollment recovery: Add UMA stats. Add UMA stats to track frequency and success rate of enrollment recovery. BUG=389481 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283342

Patch Set 1 #

Patch Set 2 : Cosmetics. #

Total comments: 8

Patch Set 3 : Add CHECK() for array access to make access violation impossible. #

Total comments: 2

Patch Set 4 : Fix UMA_HISTOGRAM_ENUMERATION() call. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -45 lines) Patch
M chrome/browser/chromeos/login/enrollment/enrollment_screen.h View 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/enrollment/enrollment_screen.cc View 1 2 3 5 chunks +21 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/login/enrollment/enrollment_screen_actor.h View 1 1 chunk +7 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.cc View 1 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment.css View 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc View 1 2 2 chunks +5 lines, -15 lines 0 comments Download
M components/policy/core/common/cloud/enterprise_metrics.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M components/policy/core/common/cloud/enterprise_metrics.cc View 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Thiemo Nagel
Hi Julian, this is how I intend to add UMA stats for enrollment recovery. I ...
6 years, 5 months ago (2014-07-11 19:17:00 UTC) #1
Thiemo Nagel
Hi Joao, could you please take a look at chrome/browser/chromeos/login/enrollment/* ? Thank you! Thiemo
6 years, 5 months ago (2014-07-14 08:38:42 UTC) #2
Thiemo Nagel
Hi Pavel, may I ask you to take a look at WizardController, EnrollmentScreenHandler and oobe_screen_oauth_enrollment.css? ...
6 years, 5 months ago (2014-07-14 08:41:31 UTC) #3
Thiemo Nagel
Hi Alexei, may I ask you to take a look at my addition to histograms.xml? ...
6 years, 5 months ago (2014-07-14 08:43:41 UTC) #4
pastarmovj
a couple of comments. https://codereview.chromium.org/385983007/diff/70001/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc File chrome/browser/chromeos/login/enrollment/enrollment_screen.cc (right): https://codereview.chromium.org/385983007/diff/70001/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc#newcode142 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc:142: enrollment_mode_ == EnrollmentScreenActor::ENROLLMENT_MODE_RECOVERY) { Is ...
6 years, 5 months ago (2014-07-14 08:46:06 UTC) #5
Joao da Silva
lgtm bar remaining comments https://codereview.chromium.org/385983007/diff/70001/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc File chrome/browser/chromeos/login/enrollment/enrollment_screen.cc (right): https://codereview.chromium.org/385983007/diff/70001/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc#newcode61 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc:61: actor_->Show(); Nothing is sampled in ...
6 years, 5 months ago (2014-07-14 10:15:50 UTC) #6
Thiemo Nagel
https://codereview.chromium.org/385983007/diff/70001/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc File chrome/browser/chromeos/login/enrollment/enrollment_screen.cc (right): https://codereview.chromium.org/385983007/diff/70001/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc#newcode142 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc:142: enrollment_mode_ == EnrollmentScreenActor::ENROLLMENT_MODE_RECOVERY) { On 2014/07/14 08:46:06, pastarmovj wrote: ...
6 years, 5 months ago (2014-07-14 10:30:35 UTC) #7
Thiemo Nagel
https://codereview.chromium.org/385983007/diff/70001/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc File chrome/browser/chromeos/login/enrollment/enrollment_screen.cc (right): https://codereview.chromium.org/385983007/diff/70001/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc#newcode61 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc:61: actor_->Show(); On 2014/07/14 10:15:50, Joao da Silva wrote: > ...
6 years, 5 months ago (2014-07-14 11:04:30 UTC) #8
pastarmovj
lgtm
6 years, 5 months ago (2014-07-14 13:05:42 UTC) #9
Alexei Svitkine (slow)
https://codereview.chromium.org/385983007/diff/110001/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc File chrome/browser/chromeos/login/enrollment/enrollment_screen.cc (right): https://codereview.chromium.org/385983007/diff/110001/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc#newcode310 chrome/browser/chromeos/login/enrollment/enrollment_screen.cc:310: histogram = policy::kMetricEnrollment; This is incorrect. The UMA_HISTOGRAM_*() macros ...
6 years, 5 months ago (2014-07-14 13:58:58 UTC) #10
Thiemo Nagel
Thank you very much! Could you please take another look? Best, Thiemo https://codereview.chromium.org/385983007/diff/110001/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc File chrome/browser/chromeos/login/enrollment/enrollment_screen.cc ...
6 years, 5 months ago (2014-07-14 14:20:08 UTC) #11
Alexei Svitkine (slow)
lgtm
6 years, 5 months ago (2014-07-14 15:21:29 UTC) #12
Thiemo Nagel
On 2014/07/14 15:21:29, Alexei Svitkine wrote: > lgtm Thank you!
6 years, 5 months ago (2014-07-14 15:32:48 UTC) #13
dzhioev (left Google)
LGTM
6 years, 5 months ago (2014-07-15 10:08:58 UTC) #14
Thiemo Nagel
The CQ bit was checked by tnagel@chromium.org
6 years, 5 months ago (2014-07-15 18:58:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tnagel@chromium.org/385983007/130001
6 years, 5 months ago (2014-07-15 19:01:20 UTC) #16
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 04:54:35 UTC) #17
Message was sent while issue was closed.
Change committed as 283342

Powered by Google App Engine
This is Rietveld 408576698