Chromium Code Reviews| Index: chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.cc |
| diff --git a/chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.cc b/chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.cc |
| index 30565c6bb8d8b2f96786fdd55787ec2b203cd431..4a2d668830cb9cf41078a965976db961abea2a08 100644 |
| --- a/chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.cc |
| +++ b/chrome/browser/policy/cloud/cloud_policy_refresh_scheduler.cc |
| @@ -91,6 +91,12 @@ void CloudPolicyRefreshScheduler::OnRegistrationStateChanged( |
| RefreshNow(); |
| } |
| +void CloudPolicyRefreshScheduler::OnRobotAuthCodesFetched( |
|
Mattias Nissler (ping if slow)
2013/04/02 14:16:46
How about we make this an optional override by pro
David Roche
2013/04/04 01:39:53
Done.
|
| + CloudPolicyClient* client) { |
| + // This only happens at registration, which is handled by |
| + // OnRobotAuthCodesFetched above, so no need to fetch policy again. |
| +} |
| + |
| void CloudPolicyRefreshScheduler::OnClientError(CloudPolicyClient* client) { |
| // Save the status for below. |
| DeviceManagementStatus status = client_->status(); |