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

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: 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
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

Powered by Google App Engine
This is Rietveld 408576698