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

Unified Diff: remoting/host/simple_host_process.cc

Issue 10233021: Move PortAllocator creation out of LibjingleTransportFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « remoting/host/remoting_me2me_host.cc ('k') | remoting/protocol/connection_to_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/simple_host_process.cc
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc
index 7d4c3f76e9778359d28a371b1dbd17b9d72df116..114802bc01162d26c1b7b1e9976b43b3a811e8e4 100644
--- a/remoting/host/simple_host_process.cc
+++ b/remoting/host/simple_host_process.cc
@@ -62,7 +62,6 @@ HMODULE g_hModule = NULL;
using remoting::protocol::CandidateSessionConfig;
using remoting::protocol::ChannelConfig;
-using remoting::protocol::NetworkSettings;
namespace {
@@ -353,8 +352,8 @@ int main(int argc, char** argv) {
simple_host.network_settings()->nat_traversal_mode =
cmd_line->HasSwitch(kDisableNatTraversalSwitchName) ?
- remoting::protocol::TransportConfig::NAT_TRAVERSAL_DISABLED :
- remoting::protocol::TransportConfig::NAT_TRAVERSAL_ENABLED;
+ remoting::NetworkSettings::NAT_TRAVERSAL_DISABLED :
+ remoting::NetworkSettings::NAT_TRAVERSAL_ENABLED;
if (cmd_line->HasSwitch(kMinPortSwitchName)) {
std::string min_port_str =
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/protocol/connection_to_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698