Add ArcPolicyBridge::Observer
Add an observer interface to ArcPolicyBridge. Observers are notified whenever policy is sent to CloudDPC or a compliance report is received from it. The CL also forces a compliance report to be sent after the initial policy fetch by adding a GUID to the policy JSON which changes whenever a new instances of ArcPolicyBridge is created. A cleaner way to do this would be a |force_compliance_report| flag sent to CloudDPC. This clean-up is tracked in a follow-up bug. Bug: b/73277923 Bug: b/73762796 Test: unit_tests Change-Id: Ib4cdfb28e4b3ea2ea0ca03d1cd7293d7e07f0bcd Reviewed-on: https://chromium-review.googlesource.com/931705 Commit-Queue: Bartosz Fabianowski <bartfab@chromium.org> Reviewed-by:Pavol Marko <pmarko@chromium.org> Reviewed-by:
Luis Hector Chavez <lhchavez@chromium.org> Cr-Commit-Position: refs/heads/master@{#538838}
Showing
This diff is collapsed.
Please register or sign in to comment