| Index: components/policy/core/common/cloud/cloud_policy_core.cc
|
| diff --git a/components/policy/core/common/cloud/cloud_policy_core.cc b/components/policy/core/common/cloud/cloud_policy_core.cc
|
| index f1f5fca52b309b57b8a822745aa9116433baa6af..302808e16d8f40562e266ef5556fdf7c9fa67cec 100644
|
| --- a/components/policy/core/common/cloud/cloud_policy_core.cc
|
| +++ b/components/policy/core/common/cloud/cloud_policy_core.cc
|
| @@ -19,6 +19,10 @@ namespace policy {
|
|
|
| CloudPolicyCore::Observer::~Observer() {}
|
|
|
| +void CloudPolicyCore::Observer::OnRemoteCommandsServiceStarted(
|
| + CloudPolicyCore* core) {
|
| +}
|
| +
|
| CloudPolicyCore::CloudPolicyCore(
|
| const std::string& policy_type,
|
| const std::string& settings_entity_id,
|
| @@ -59,6 +63,8 @@ void CloudPolicyCore::StartRemoteCommandsService(
|
|
|
| // Do an initial remote commands fetch immediately.
|
| remote_commands_service_->FetchRemoteCommands();
|
| +
|
| + FOR_EACH_OBSERVER(Observer, observers_, OnRemoteCommandsServiceStarted(this));
|
| }
|
|
|
| void CloudPolicyCore::RefreshSoon() {
|
|
|