Index: remoting/host/policy_watcher.cc |
diff --git a/remoting/host/policy_watcher.cc b/remoting/host/policy_watcher.cc |
index 569e3289c887f130aa6dcbf0dc79105f2a27f629..96154214c1a497e065068a84e9f8640a07ee239a 100644 |
--- a/remoting/host/policy_watcher.cc |
+++ b/remoting/host/policy_watcher.cc |
@@ -158,6 +158,10 @@ void PolicyWatcher::StartWatching( |
} |
} |
+std::unique_ptr<base::DictionaryValue> PolicyWatcher::GetCurrentPolicies() { |
+ return old_policies_->CreateDeepCopy(); |
+} |
+ |
void PolicyWatcher::SignalPolicyError() { |
old_policies_->Clear(); |
policy_error_callback_.Run(); |