Index: chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc |
diff --git a/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc b/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc |
index 5fa7bb37aced3db8b572642dcbaf6757f240f471..a61c0b6e7d62d2a1943fc8fd075d4511bb31ecb3 100644 |
--- a/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc |
+++ b/chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc |
@@ -6,6 +6,7 @@ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
+#include "chrome/browser/chromeos/attestation/attestation_policy_observer.h" |
#include "chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h" |
#include "chrome/browser/chromeos/policy/enrollment_handler_chromeos.h" |
#include "chrome/browser/chromeos/policy/enterprise_install_attributes.h" |
@@ -162,6 +163,8 @@ void DeviceCloudPolicyManagerChromeOS::EnrollmentCompleted( |
core()->StartRefreshScheduler(); |
core()->TrackRefreshDelayPref(local_state_, |
prefs::kDevicePolicyRefreshRate); |
+ attestation_policy_observer_.reset( |
+ new chromeos::attestation::AttestationPolicyObserver(client())); |
} else { |
StartIfManaged(); |
} |
@@ -181,6 +184,8 @@ void DeviceCloudPolicyManagerChromeOS::StartIfManaged() { |
core()->StartRefreshScheduler(); |
core()->TrackRefreshDelayPref(local_state_, |
prefs::kDevicePolicyRefreshRate); |
+ attestation_policy_observer_.reset( |
+ new chromeos::attestation::AttestationPolicyObserver(client())); |
} |
} |