summaryrefslogtreecommitdiffstats
path: root/remoting/client
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-26 17:35:30 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-26 17:35:30 +0000
commitec5ed95d919f26d71e1a8346fac834f55dc76ddf (patch)
tree84dbcbd238eb8dc91bba3c206012d93b2442fc9b /remoting/client
parentc42283689c77cf16b1ab2cf3b0d258d90d769c0c (diff)
downloadchromium_src-ec5ed95d919f26d71e1a8346fac834f55dc76ddf.zip
chromium_src-ec5ed95d919f26d71e1a8346fac834f55dc76ddf.tar.gz
chromium_src-ec5ed95d919f26d71e1a8346fac834f55dc76ddf.tar.bz2
Expose nat_traversal flag to host and client plugins.
BUG=90213 TEST=None Review URL: http://codereview.chromium.org/7471054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94119 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client')
-rw-r--r--remoting/client/plugin/chromoting_instance.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
index 352cb98..7ec07a4 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -107,9 +107,10 @@ bool ChromotingInstance::Init(uint32_t argc,
}
// Create the chromoting objects.
+ // TODO(sergeyu): Use firewall traversal policy settings here.
host_connection_.reset(new protocol::ConnectionToHost(
context_.network_message_loop(), network_manager, socket_factory,
- session_factory));
+ session_factory, false));
view_.reset(new PepperView(this, &context_));
view_proxy_ = new PepperViewProxy(this, view_.get());
rectangle_decoder_ = new RectangleUpdateDecoder(