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

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

Issue 138753005: Add gnubby authentication to remoting host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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 23b6c78196efa651bfcf0e4c94ddf78847bd946c..4b7456c45748a0a9622489589f5378708d8f8366 100644
--- a/remoting/host/policy_hack/policy_watcher.cc
+++ b/remoting/host/policy_hack/policy_watcher.cc
@@ -101,6 +101,9 @@ const char PolicyWatcher::kHostTokenValidationUrlPolicyName[] =
const char PolicyWatcher::kHostAllowClientPairing[] =
"RemoteAccessHostAllowClientPairing";
+const char PolicyWatcher::kHostAllowGnubbyAuthPolicyName[] =
+ "RemoteAccessHostAllowGnubbyAuth";
+
const char PolicyWatcher::kHostDebugOverridePoliciesName[] =
"RemoteAccessHostDebugOverridePolicies";
@@ -121,6 +124,7 @@ PolicyWatcher::PolicyWatcher(
default_values_->SetString(kHostTokenUrlPolicyName, std::string());
default_values_->SetString(kHostTokenValidationUrlPolicyName, std::string());
default_values_->SetBoolean(kHostAllowClientPairing, true);
+ default_values_->SetBoolean(kHostAllowGnubbyAuthPolicyName, false);
#if !defined(NDEBUG)
default_values_->SetString(kHostDebugOverridePoliciesName, std::string());
#endif

Powered by Google App Engine
This is Rietveld 408576698