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

Issue 2150603002: Added policy device id validation similar to the existing DM token validation. (Closed)

Created:
4 years, 5 months ago by ljusten (tachyonic)
Modified:
4 years, 5 months ago
CC:
chromium-reviews, tnagel+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added policy device id validation similar to the existing DM token validation. BUG=360708 Committed: https://crrev.com/ed0d60b78f377e9279c1ceb3d374ef958fa9903a Cr-Commit-Position: refs/heads/master@{#405719}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added policy device id validation similar to the existing DM token validation. BUG: 360708 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -0 lines) Patch
M chrome/browser/chromeos/policy/device_local_account_policy_store.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/policy/core/browser/cloud/message_util.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_validator.h View 5 chunks +9 lines, -0 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_validator.cc View 4 chunks +28 lines, -0 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_validator_unittest.cc View 4 chunks +21 lines, -0 lines 0 comments Download
M components/policy_strings.grdp View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
ljusten (tachyonic)
Please review the device id validation code we talked about today.
4 years, 5 months ago (2016-07-13 16:55:26 UTC) #2
Andrew T Wilson (Slow)
LGTM once you remove the changes to policy_templates.json from this CL. Nice work! https://codereview.chromium.org/2150603002/diff/1/components/policy/resources/policy_templates.json File ...
4 years, 5 months ago (2016-07-14 15:03:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2150603002/20001
4 years, 5 months ago (2016-07-14 16:35:27 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2150603002/20001
4 years, 5 months ago (2016-07-15 07:25:34 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-15 08:02:30 UTC) #17
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/ed0d60b78f377e9279c1ceb3d374ef958fa9903a Cr-Commit-Position: refs/heads/master@{#405719}
4 years, 5 months ago (2016-07-15 08:04:17 UTC) #19
michaelpg
4 years, 5 months ago (2016-07-15 19:54:36 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2153613003/ by michaelpg@chromium.org.

The reason for reverting is: Crashes in PFQ information builders in
login_OwnershipNotRetaken VM/HWtests.

[31587:31603:0715/084815:ERROR:cloud_policy_validator.cc(472)] Empty device id
encountered - expected: 

crbug.com/628720.

Powered by Google App Engine
This is Rietveld 408576698