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

Unified Diff: remoting/host/policy_hack/policy_watcher.cc

Issue 10827265: Add Chromoting curtain-mode policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewer feedback. Created 8 years, 4 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
« no previous file with comments | « remoting/host/policy_hack/policy_watcher.h ('k') | remoting/host/policy_hack/policy_watcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/policy_hack/policy_watcher.cc
diff --git a/remoting/host/policy_hack/policy_watcher.cc b/remoting/host/policy_hack/policy_watcher.cc
index 0d197729c4784f350473e31dc704fc18d64bd39b..4217076b04e6eea189aeb0905db8dbaf4dd759c2 100644
--- a/remoting/host/policy_hack/policy_watcher.cc
+++ b/remoting/host/policy_hack/policy_watcher.cc
@@ -97,6 +97,9 @@ scoped_ptr<base::DictionaryValue> AddDefaultValuesWhenNecessary(
CopyStringOrDefault(to.get(), from,
PolicyWatcher::kHostTalkGadgetPrefixPolicyName,
kDefaultTalkGadgetPrefix, kDefaultTalkGadgetPrefix);
+ CopyBooleanOrDefault(to.get(), from,
+ PolicyWatcher::kHostRequireCurtainPolicyName,
+ false, false);
return to.Pass();
}
@@ -115,6 +118,9 @@ const char PolicyWatcher::kHostDomainPolicyName[] =
const char PolicyWatcher::kHostTalkGadgetPrefixPolicyName[] =
"RemoteAccessHostTalkGadgetPrefix";
+const char PolicyWatcher::kHostRequireCurtainPolicyName[] =
+ "RemoteAccessHostRequireCurtain";
+
const char* const PolicyWatcher::kBooleanPolicyNames[] =
{ PolicyWatcher::kNatPolicyName,
PolicyWatcher::kHostRequireTwoFactorPolicyName
« no previous file with comments | « remoting/host/policy_hack/policy_watcher.h ('k') | remoting/host/policy_hack/policy_watcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698