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

Unified Diff: remoting/host/it2me/it2me_host.h

Issue 2901033002: Host port range policy is no longer ignored in it2me host (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | remoting/host/it2me/it2me_host.cc » ('j') | remoting/host/it2me/it2me_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/it2me/it2me_host.h
diff --git a/remoting/host/it2me/it2me_host.h b/remoting/host/it2me/it2me_host.h
index 18df48cdcf3c9a93f354495ecf945f81f6626312..3f696357b757d628dfea502fceb8f8e957f56997 100644
--- a/remoting/host/it2me/it2me_host.h
+++ b/remoting/host/it2me/it2me_host.h
@@ -15,6 +15,7 @@
#include "remoting/host/host_status_observer.h"
#include "remoting/host/it2me/it2me_confirmation_dialog.h"
#include "remoting/host/it2me/it2me_confirmation_dialog_proxy.h"
+#include "remoting/protocol/port_range.h"
#include "remoting/protocol/validating_authenticator.h"
#include "remoting/signaling/xmpp_signal_strategy.h"
@@ -132,6 +133,7 @@ class It2MeHost : public base::RefCountedThreadSafe<It2MeHost>,
void UpdateHostDomainListPolicy(std::vector<std::string> host_domain_list);
void UpdateClientDomainListPolicy(
std::vector<std::string> client_domain_list);
+ void UpdateHostUdpPortRangePolicy(std::string port_range_string);
void DisconnectOnNetworkThread();
@@ -169,6 +171,9 @@ class It2MeHost : public base::RefCountedThreadSafe<It2MeHost>,
std::vector<std::string> required_client_domain_list_;
std::vector<std::string> required_host_domain_list_;
+ // The host port range policy setting.
+ PortRange udp_port_range_;
+
// Tracks the JID of the remote user when in a connecting state.
std::string connecting_jid_;
« no previous file with comments | « no previous file | remoting/host/it2me/it2me_host.cc » ('j') | remoting/host/it2me/it2me_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698