diff options
author | dcaiafa@chromium.org <dcaiafa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-30 16:47:31 +0000 |
---|---|---|
committer | dcaiafa@chromium.org <dcaiafa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-30 16:47:31 +0000 |
commit | 573e6777aa7fe9f4fcf66202f9e93e062d120b7c (patch) | |
tree | 836659f93e57cf8dabe7dec9435b41e686bead42 /chrome/common/pref_names.cc | |
parent | 71d94dfce9c1989595d60e2737e05420cf6a5d5e (diff) | |
download | chromium_src-573e6777aa7fe9f4fcf66202f9e93e062d120b7c.zip chromium_src-573e6777aa7fe9f4fcf66202f9e93e062d120b7c.tar.gz chromium_src-573e6777aa7fe9f4fcf66202f9e93e062d120b7c.tar.bz2 |
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
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/pref_names.cc')
-rw-r--r-- | chrome/common/pref_names.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index d791e37..cf188b6 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -1883,6 +1883,17 @@ const char kRemoteAccessHostAllowClientPairing[] = const char kRemoteAccessHostAllowGnubbyAuth[] = "remote_access.host_allow_gnubby_auth"; +// Boolean that indicates whether the Chromoting host should allow connections +// using relay servers. +const char kRemoteAccessHostAllowRelayedConnection[] = + "remote_access.host_allow_relayed_connection"; + +// String containing the UDP port range that the Chromoting host should used +// when connecting to clients. The port range should be in the form: +// <min_port>-<max_port>. E.g. 12400-12409. +const char kRemoteAccessHostUdpPortRange[] = + "remote_access.host_udp_port_range"; + // The last used printer and its settings. const char kPrintPreviewStickySettings[] = "printing.print_preview_sticky_settings"; |