Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(624)

Unified Diff: remoting/host/policy_watcher.h

Issue 2847853003: Remove policy watching from It2MeHost. (Closed)
Patch Set: Fix unit tests Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/policy_watcher.h
diff --git a/remoting/host/policy_watcher.h b/remoting/host/policy_watcher.h
index 44f38638de48f79f85f23d60b513c23587c0d000..49d0dd583abf9f2aaa084bff6e0b348307a2e9b3 100644
--- a/remoting/host/policy_watcher.h
+++ b/remoting/host/policy_watcher.h
@@ -59,6 +59,12 @@ class PolicyWatcher : public policy::PolicyService::Observer,
const PolicyUpdatedCallback& policy_updated_callback,
const PolicyErrorCallback& policy_error_callback);
+ // Return the current policies.
+ std::unique_ptr<base::DictionaryValue> GetCurrentPolicies();
+
+ // Return the default policies.
+ static std::unique_ptr<base::DictionaryValue> GetDefaultPolicies();
+
// Specify a |policy_service| to borrow (on Chrome OS, from the browser
// process) or specify nullptr to internally construct and use a new
// PolicyService (on other OS-es). PolicyWatcher must be used on the thread on

Powered by Google App Engine
This is Rietveld 408576698