diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-30 22:08:36 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-30 22:08:36 +0000 |
commit | 40a600248d5396a74f69c1e3c5abbed388c44696 (patch) | |
tree | e531dbf749775b782bb284b8393b8315fa35091d /remoting/protocol/transport_config.cc | |
parent | 7a0ca9869fffba577ba08d5b1932c7b119aac669 (diff) | |
download | chromium_src-40a600248d5396a74f69c1e3c5abbed388c44696.zip chromium_src-40a600248d5396a74f69c1e3c5abbed388c44696.tar.gz chromium_src-40a600248d5396a74f69c1e3c5abbed388c44696.tar.bz2 |
Move PortAllocator creation out of LibjingleTransportFactory.
Host will have host-specific port allocator, so PortAllocator creation
has to be moved out of protocol code. Since PortAllocator needs to be
configured with network settings (nat traversal and port range), I
refactored how these settings are passed between layers.
BUG=103991
Review URL: https://chromiumcodereview.appspot.com/10233021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134608 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/transport_config.cc')
-rw-r--r-- | remoting/protocol/transport_config.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/remoting/protocol/transport_config.cc b/remoting/protocol/transport_config.cc index bed4741..093e1b1 100644 --- a/remoting/protocol/transport_config.cc +++ b/remoting/protocol/transport_config.cc @@ -7,10 +7,7 @@ namespace remoting { namespace protocol { -TransportConfig::TransportConfig() - : nat_traversal_mode(NAT_TRAVERSAL_DISABLED), - min_port(0), - max_port(0) { +TransportConfig::TransportConfig() { } TransportConfig::~TransportConfig() { |