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

Issue 2276593004: Device registration using an enrollment certificate from the PCA. (Closed)

Created:
4 years, 4 months ago by The one and only Dr. Crash
Modified:
4 years, 3 months ago
Reviewers:
pastarmovj, dkalin
CC:
chromium-reviews, oshima+watch_chromium.org, davemoore+watch_chromium.org, dkalin1, minz_ google.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Device registration using an enrollment certificate from the PCA. BUG=624187 TEST=unit_tests Committed: https://crrev.com/59380d4af7c23cae135488b421df2756894b02fe Cr-Commit-Position: refs/heads/master@{#415148}

Patch Set 1 #

Patch Set 2 : Depends and is rebased off CL 2261763002. #

Patch Set 3 : Do not call back with success if the SignedData from attestation could not be parsed. #

Patch Set 4 : Refactored and added unit tests. #

Patch Set 5 : Merge branch 'master' into register-with-certificate #

Total comments: 7

Patch Set 6 : Adressed review feedback. #

Patch Set 7 : Fixed constant. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+376 lines, -157 lines) Patch
M chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc View 1 2 3 3 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_initializer.h View 1 2 3 4 5 5 chunks +34 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_initializer.cc View 1 2 3 4 5 7 chunks +55 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_initializer_unittest.cc View 1 2 3 2 chunks +12 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc View 1 2 3 17 chunks +83 lines, -24 lines 0 comments Download
M chrome/browser/chromeos/policy/enrollment_handler_chromeos.h View 1 2 3 3 chunks +2 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc View 1 2 3 7 chunks +12 lines, -22 lines 0 comments Download
M chrome/browser/chromeos/policy/fake_device_cloud_policy_initializer.cc View 1 2 3 2 chunks +8 lines, -6 lines 0 comments Download
M components/policy/core/common/BUILD.gn View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_client.h View 1 2 3 3 chunks +2 lines, -16 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_client.cc View 1 2 3 4 2 chunks +1 line, -3 lines 0 comments Download
M components/policy/core/common/cloud/cloud_policy_client_unittest.cc View 1 2 3 4 5 6 8 chunks +8 lines, -48 lines 0 comments Download
A components/policy/core/common/cloud/mock_signing_service.h View 1 2 3 1 chunk +51 lines, -0 lines 0 comments Download
A components/policy/core/common/cloud/mock_signing_service.cc View 1 2 3 1 chunk +52 lines, -0 lines 0 comments Download
A components/policy/core/common/cloud/signing_service.h View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 41 (31 generated)
dkalin
lgtm
4 years, 4 months ago (2016-08-24 18:36:32 UTC) #3
The one and only Dr. Crash
+pastarmovj, would you have a look?
4 years, 3 months ago (2016-08-26 19:43:28 UTC) #9
pastarmovj
https://codereview.chromium.org/2276593004/diff/80001/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h File chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h (right): https://codereview.chromium.org/2276593004/diff/80001/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h#newcode151 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h:151: std::unique_ptr<chromeos::attestation::AttestationFlow> Please add a new line and document this ...
4 years, 3 months ago (2016-08-29 11:51:35 UTC) #19
The one and only Dr. Crash
https://codereview.chromium.org/2276593004/diff/80001/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h File chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h (right): https://codereview.chromium.org/2276593004/diff/80001/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h#newcode151 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h:151: std::unique_ptr<chromeos::attestation::AttestationFlow> On 2016/08/29 11:51:35, pastarmovj wrote: > Please add ...
4 years, 3 months ago (2016-08-29 19:55:32 UTC) #22
pastarmovj
lgtm https://codereview.chromium.org/2276593004/diff/80001/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h File chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h (right): https://codereview.chromium.org/2276593004/diff/80001/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h#newcode151 chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h:151: std::unique_ptr<chromeos::attestation::AttestationFlow> On 2016/08/29 19:55:32, The one and only ...
4 years, 3 months ago (2016-08-29 22:08:51 UTC) #25
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/2276593004/100001
4 years, 3 months ago (2016-08-29 23:21:13 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/283643)
4 years, 3 months ago (2016-08-30 03:50:06 UTC) #35
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/2276593004/120001
4 years, 3 months ago (2016-08-30 04:08:53 UTC) #37
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-08-30 05:21:08 UTC) #39
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 05:22:24 UTC) #41
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/59380d4af7c23cae135488b421df2756894b02fe
Cr-Commit-Position: refs/heads/master@{#415148}

Powered by Google App Engine
This is Rietveld 408576698