| Index: remoting/host/policy_watcher.cc
|
| diff --git a/remoting/host/policy_watcher.cc b/remoting/host/policy_watcher.cc
|
| index f114f068fa31c08580f1dcccd10c10df8f3076d7..96727292f7fd98b3b7efd41526da4448bd92a17b 100644
|
| --- a/remoting/host/policy_watcher.cc
|
| +++ b/remoting/host/policy_watcher.cc
|
| @@ -374,6 +374,12 @@ std::unique_ptr<PolicyWatcher> PolicyWatcher::Create(
|
| policy::POLICY_SCOPE_MACHINE));
|
| #elif defined(OS_ANDROID)
|
| NOTIMPLEMENTED();
|
| + policy::PolicyServiceImpl::Providers providers;
|
| + std::unique_ptr<policy::PolicyService> owned_policy_service(
|
| + new policy::PolicyServiceImpl(providers));
|
| + return base::WrapUnique(new PolicyWatcher(
|
| + owned_policy_service.get(), std::move(owned_policy_service), nullptr,
|
| + CreateSchemaRegistry()));
|
| #else
|
| #error OS that is not yet supported by PolicyWatcher code.
|
| #endif
|
|
|