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

Issue 295103013: Add UMA for policy load result of enrolled Chrome OS devices. (Closed)

Created:
6 years, 7 months ago by Thiemo Nagel
Modified:
6 years, 7 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, jar (doing other things), asvitkine+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, nkostylev+watch_chromium.org, pastarmovj
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add UMA for policy load result on enrolled Chrome OS devices. Log only one entry per session to reduce distortion due to potentially different usage patterns depending on the policy load result. To facilitate correct accounting, the status of DeviceSettingsService is switched to STORE_VALIDATION_ERROR once retries for STORE_TEMP_VALIDATION_ERROR have been exhausted. BUG=376331 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272949

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Simplified. #

Total comments: 4

Patch Set 3 : Rebase. #

Patch Set 4 : Improvements suggested by Alexei. #

Patch Set 5 : Fix has_dm_token conditional. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -0 lines) Patch
M chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc View 1 2 3 4 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_service.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Thiemo Nagel
Hi Julian, Mattias, could you please take a look at this CL which is intended ...
6 years, 7 months ago (2014-05-23 19:58:56 UTC) #1
Mattias Nissler (ping if slow)
https://codereview.chromium.org/295103013/diff/20001/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc File chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc (right): https://codereview.chromium.org/295103013/diff/20001/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc#newcode132 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc:132: if (!install_attributes_->IsEnterpriseDevice()) { It would make sense to change ...
6 years, 7 months ago (2014-05-26 07:54:11 UTC) #2
Thiemo Nagel
Hi Mattias, thank you for your comments! As discussed, I've broken down the change now ...
6 years, 7 months ago (2014-05-26 10:53:54 UTC) #3
Mattias Nissler (ping if slow)
LGTM
6 years, 7 months ago (2014-05-26 12:06:09 UTC) #4
Thiemo Nagel
On 2014/05/26 12:06:09, Mattias Nissler wrote: > LGTM Thank you very much!
6 years, 7 months ago (2014-05-26 12:42:11 UTC) #5
Thiemo Nagel
Hi Alexei, may I kindly ask you to take a quick look at histograms.xml? I've ...
6 years, 7 months ago (2014-05-26 12:51:12 UTC) #6
Alexei Svitkine (slow)
https://codereview.chromium.org/295103013/diff/70001/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc File chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc (right): https://codereview.chromium.org/295103013/diff/70001/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc#newcode146 chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc:146: "Enterprise.EnrolledPolicyHasDMToken", This looks like a boolean histogram, so there's ...
6 years, 7 months ago (2014-05-26 17:27:11 UTC) #7
Thiemo Nagel
Hi Alexei, many thanks for your comments! I've uploaded a patchset to address them. Could ...
6 years, 7 months ago (2014-05-26 17:54:29 UTC) #8
Alexei Svitkine (slow)
LGTM
6 years, 7 months ago (2014-05-26 18:00:59 UTC) #9
Thiemo Nagel
The CQ bit was checked by tnagel@chromium.org
6 years, 7 months ago (2014-05-27 09:28:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tnagel@chromium.org/295103013/130001
6 years, 7 months ago (2014-05-27 09:29:05 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-27 10:36:03 UTC) #12
commit-bot: I haz the power
6 years, 7 months ago (2014-05-27 12:00:09 UTC) #13
Message was sent while issue was closed.
Change committed as 272949

Powered by Google App Engine
This is Rietveld 408576698