diff options
author | noamsml@google.com <noamsml@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-30 17:04:23 +0000 |
---|---|---|
committer | noamsml@google.com <noamsml@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-30 17:04:23 +0000 |
commit | 11f9efbe87642781a5e03fc760cc16c7f31a97f9 (patch) | |
tree | b82b65f3d0102be411e18687fbf8346543224326 /remoting/host/policy_hack/policy_watcher.h | |
parent | 0e24b8b0e03a669eb93193fd2592350430f07914 (diff) | |
download | chromium_src-11f9efbe87642781a5e03fc760cc16c7f31a97f9.zip chromium_src-11f9efbe87642781a5e03fc760cc16c7f31a97f9.tar.gz chromium_src-11f9efbe87642781a5e03fc760cc16c7f31a97f9.tar.bz2 |
Revert 267242 "Revert 267234 "New policies: enable/disable relay..."
Reland due to accidental incorrect revert.
> Revert 267234 "New policies: enable/disable relay; port range"
>
> > New policies: enable/disable relay; port range
> >
> > Add new Chromoting policies:
> >
> > "RemoteAccessHostAllowRelayedConnection"
> > bool, default true
> > It can be set to false to disable the use of relay servers if NAT
> > traversal is enabled.
> >
> > "RemoteAccessHostUdpPortRange"
> > string, default ""
> > Can be used to specify a range in the form "<min-port>-<max-port>" to
> > restrict the range of UDP ports available to the host for connections.
> > E.g. "12400-12409"
> >
> > BUG=355168
> >
> > Review URL: https://codereview.chromium.org/209323002
>
> TBR=dcaiafa@chromium.org
> BUG=368724
>
> Review URL: https://codereview.chromium.org/268483003
TBR=noamsml@google.com
Review URL: https://codereview.chromium.org/261633005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267248 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/policy_hack/policy_watcher.h')
-rw-r--r-- | remoting/host/policy_hack/policy_watcher.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/remoting/host/policy_hack/policy_watcher.h b/remoting/host/policy_hack/policy_watcher.h index a3afee0..0ced8f2 100644 --- a/remoting/host/policy_hack/policy_watcher.h +++ b/remoting/host/policy_hack/policy_watcher.h @@ -77,6 +77,12 @@ class PolicyWatcher { // The name of the policy for disabling gnubbyd forwarding. static const char kHostAllowGnubbyAuthPolicyName[]; + // The name of the policy for allowing use of relay servers. + static const char kRelayPolicyName[]; + + // The name of the policy that restricts the range of host UDP ports. + static const char kUdpPortRangePolicyName[]; + // The name of the policy for overriding policies, for use in testing. static const char kHostDebugOverridePoliciesName[]; |