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

Issue 12556004: Created AttestationPolicyObserver. (Closed)

Created:
7 years, 9 months ago by dkrahn
Modified:
7 years, 8 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, davidyu
Visibility:
Public.

Description

Created AttestationPolicyObserver. AttestationPolicyObserver performs Chrome OS attestation work in response to policy changes. This CL integrates AttestationPolicyObserver with the Chrome OS device policy infrastructure. It also defines a AttestationCAClient skeleton which is necessary to instantiate AttestationFlow and changes AttestationFlow to take ownership of its ServerProxy instance. BUG=chromium:219959 TEST=unit_tests; chromeos_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195266

Patch Set 1 #

Total comments: 24

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Total comments: 32

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 4

Patch Set 10 : #

Total comments: 9

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+566 lines, -30 lines) Patch
M WATCHLISTS View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -0 lines 0 comments Download
A + chrome/browser/chromeos/attestation/OWNERS View 1 2 3 4 5 6 7 8 9 10 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/browser/chromeos/attestation/attestation_ca_client.h View 1 2 3 4 5 6 7 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/attestation/attestation_ca_client.cc View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/attestation/attestation_policy_observer.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +89 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/attestation/attestation_policy_observer.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +187 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/attestation/attestation_policy_observer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +118 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/proto/chrome_device_policy.proto View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +7 lines, -1 line 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
A + chromeos/attestation/OWNERS View 1 2 3 4 5 6 7 8 9 10 0 chunks +-1 lines, --1 lines 0 comments Download
M chromeos/attestation/attestation_flow.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M chromeos/attestation/attestation_flow.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/attestation/attestation_flow_unittest.cc View 1 2 4 5 6 18 chunks +36 lines, -27 lines 0 comments Download
M chromeos/attestation/mock_attestation_flow.h View 1 2 2 chunks +14 lines, -0 lines 0 comments Download
M chromeos/attestation/mock_attestation_flow.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
dkrahn
7 years, 9 months ago (2013-03-26 22:29:20 UTC) #1
Mattias Nissler (ping if slow)
https://codereview.chromium.org/12556004/diff/1/chrome/browser/chromeos/attestation/attestation_ca_client.cc File chrome/browser/chromeos/attestation/attestation_ca_client.cc (right): https://codereview.chromium.org/12556004/diff/1/chrome/browser/chromeos/attestation/attestation_ca_client.cc#newcode22 chrome/browser/chromeos/attestation/attestation_ca_client.cc:22: // TODO(dkrahn): Implement. Might want to just put a ...
7 years, 8 months ago (2013-03-27 14:16:33 UTC) #2
dkrahn
https://codereview.chromium.org/12556004/diff/1/chrome/browser/chromeos/attestation/attestation_ca_client.cc File chrome/browser/chromeos/attestation/attestation_ca_client.cc (right): https://codereview.chromium.org/12556004/diff/1/chrome/browser/chromeos/attestation/attestation_ca_client.cc#newcode22 chrome/browser/chromeos/attestation/attestation_ca_client.cc:22: // TODO(dkrahn): Implement. On 2013/03/27 14:16:34, Mattias Nissler wrote: ...
7 years, 8 months ago (2013-03-27 21:20:44 UTC) #3
Mattias Nissler (ping if slow)
Should we get together and discuss this at greater length? https://codereview.chromium.org/12556004/diff/1/chrome/browser/chromeos/attestation/attestation_policy_observer.cc File chrome/browser/chromeos/attestation/attestation_policy_observer.cc (right): https://codereview.chromium.org/12556004/diff/1/chrome/browser/chromeos/attestation/attestation_policy_observer.cc#newcode21 ...
7 years, 8 months ago (2013-04-02 12:49:39 UTC) #4
dkrahn
I think the latest patch seems to fit a bit better. If not, let's schedule ...
7 years, 8 months ago (2013-04-04 21:27:26 UTC) #5
Mattias Nissler (ping if slow)
Sorry for the delay. https://codereview.chromium.org/12556004/diff/18001/chrome/browser/chromeos/attestation/attestation_ca_client.cc File chrome/browser/chromeos/attestation/attestation_ca_client.cc (right): https://codereview.chromium.org/12556004/diff/18001/chrome/browser/chromeos/attestation/attestation_ca_client.cc#newcode12 chrome/browser/chromeos/attestation/attestation_ca_client.cc:12: using std::string; no need? https://codereview.chromium.org/12556004/diff/18001/chrome/browser/chromeos/attestation/attestation_ca_client.cc#newcode17 ...
7 years, 8 months ago (2013-04-10 17:31:03 UTC) #6
dkrahn
https://codereview.chromium.org/12556004/diff/18001/chrome/browser/chromeos/attestation/attestation_ca_client.cc File chrome/browser/chromeos/attestation/attestation_ca_client.cc (right): https://codereview.chromium.org/12556004/diff/18001/chrome/browser/chromeos/attestation/attestation_ca_client.cc#newcode12 chrome/browser/chromeos/attestation/attestation_ca_client.cc:12: using std::string; On 2013/04/10 17:31:03, Mattias Nissler wrote: > ...
7 years, 8 months ago (2013-04-12 01:17:28 UTC) #7
Mattias Nissler (ping if slow)
LGTM with nits. https://codereview.chromium.org/12556004/diff/18001/chrome/browser/chromeos/attestation/attestation_policy_observer.cc File chrome/browser/chromeos/attestation/attestation_policy_observer.cc (right): https://codereview.chromium.org/12556004/diff/18001/chrome/browser/chromeos/attestation/attestation_policy_observer.cc#newcode135 chrome/browser/chromeos/attestation/attestation_policy_observer.cc:135: base::Bind(DBusBoolRedirectCallback, on_does_exist, on_does_not_exist)); On 2013/04/12 01:17:29, ...
7 years, 8 months ago (2013-04-12 12:51:43 UTC) #8
dkrahn
https://codereview.chromium.org/12556004/diff/18001/chrome/browser/chromeos/attestation/attestation_policy_observer.cc File chrome/browser/chromeos/attestation/attestation_policy_observer.cc (right): https://codereview.chromium.org/12556004/diff/18001/chrome/browser/chromeos/attestation/attestation_policy_observer.cc#newcode164 chrome/browser/chromeos/attestation/attestation_policy_observer.cc:164: // TODO(dkrahn): Upload the certificate when supported by policy_client_. ...
7 years, 8 months ago (2013-04-12 21:12:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dkrahn@google.com/12556004/37004
7 years, 8 months ago (2013-04-12 21:12:50 UTC) #10
commit-bot: I haz the power
Presubmit check for 12556004-37004 failed and returned exit status 1. INFO:root:Found 18 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-12 21:12:56 UTC) #11
dkrahn
+satorux as OWNER
7 years, 8 months ago (2013-04-12 23:28:42 UTC) #12
satorux1
What about creating chrome/browser/chromeos/attestation/OWNERS and chromeos/attestation/OWNERS?
7 years, 8 months ago (2013-04-14 23:43:24 UTC) #13
dkrahn
On 2013/04/14 23:43:24, satorux1 wrote: > What about creating chrome/browser/chromeos/attestation/OWNERS and > chromeos/attestation/OWNERS? Added these ...
7 years, 8 months ago (2013-04-16 20:23:30 UTC) #14
Mattias Nissler (ping if slow)
https://chromiumcodereview.appspot.com/12556004/diff/51001/chrome/browser/chromeos/attestation/OWNERS File chrome/browser/chromeos/attestation/OWNERS (right): https://chromiumcodereview.appspot.com/12556004/diff/51001/chrome/browser/chromeos/attestation/OWNERS#newcode6 chrome/browser/chromeos/attestation/OWNERS:6: pneubeck@chromium.org You probably want to trim the list a ...
7 years, 8 months ago (2013-04-17 08:51:42 UTC) #15
dkrahn
+TBR jochen@ for *.gypi changes https://chromiumcodereview.appspot.com/12556004/diff/51001/chrome/browser/chromeos/attestation/OWNERS File chrome/browser/chromeos/attestation/OWNERS (right): https://chromiumcodereview.appspot.com/12556004/diff/51001/chrome/browser/chromeos/attestation/OWNERS#newcode6 chrome/browser/chromeos/attestation/OWNERS:6: pneubeck@chromium.org On 2013/04/17 08:51:43, ...
7 years, 8 months ago (2013-04-17 23:45:08 UTC) #16
satorux1
LGTM with nits https://codereview.chromium.org/12556004/diff/56001/chrome/browser/chromeos/attestation/attestation_policy_observer.cc File chrome/browser/chromeos/attestation/attestation_policy_observer.cc (right): https://codereview.chromium.org/12556004/diff/56001/chrome/browser/chromeos/attestation/attestation_policy_observer.cc#newcode74 chrome/browser/chromeos/attestation/attestation_policy_observer.cc:74: attestation_flow_(NULL) { On what thread this ...
7 years, 8 months ago (2013-04-18 05:43:16 UTC) #17
jochen (gone - plz use gerrit)
*gypi* lgtm https://codereview.chromium.org/12556004/diff/56001/chrome/browser/chromeos/attestation/OWNERS File chrome/browser/chromeos/attestation/OWNERS (right): https://codereview.chromium.org/12556004/diff/56001/chrome/browser/chromeos/attestation/OWNERS#newcode4 chrome/browser/chromeos/attestation/OWNERS:4: # dkrahn@chromium.org should also be involved in ...
7 years, 8 months ago (2013-04-18 06:49:16 UTC) #18
satorux1
https://codereview.chromium.org/12556004/diff/56001/chrome/browser/chromeos/attestation/attestation_policy_observer.cc File chrome/browser/chromeos/attestation/attestation_policy_observer.cc (right): https://codereview.chromium.org/12556004/diff/56001/chrome/browser/chromeos/attestation/attestation_policy_observer.cc#newcode22 chrome/browser/chromeos/attestation/attestation_policy_observer.cc:22: using std::string; On 2013/04/18 06:49:16, jochen wrote: > we ...
7 years, 8 months ago (2013-04-18 07:04:08 UTC) #19
dkrahn
https://chromiumcodereview.appspot.com/12556004/diff/56001/chrome/browser/chromeos/attestation/OWNERS File chrome/browser/chromeos/attestation/OWNERS (right): https://chromiumcodereview.appspot.com/12556004/diff/56001/chrome/browser/chromeos/attestation/OWNERS#newcode4 chrome/browser/chromeos/attestation/OWNERS:4: # dkrahn@chromium.org should also be involved in reviews. On ...
7 years, 8 months ago (2013-04-18 18:29:41 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dkrahn@google.com/12556004/64001
7 years, 8 months ago (2013-04-18 18:30:34 UTC) #21
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/policy/proto/chrome_device_policy.proto: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-18 18:30:46 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dkrahn@google.com/12556004/69001
7 years, 8 months ago (2013-04-18 19:39:18 UTC) #23
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=30339
7 years, 8 months ago (2013-04-18 23:25:05 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dkrahn@google.com/12556004/69001
7 years, 8 months ago (2013-04-19 00:45:41 UTC) #25
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/settings/cros_settings_names.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-19 03:06:46 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dkrahn@google.com/12556004/89002
7 years, 8 months ago (2013-04-19 17:42:30 UTC) #27
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 20:34:37 UTC) #28
Message was sent while issue was closed.
Change committed as 195266

Powered by Google App Engine
This is Rietveld 408576698