summaryrefslogtreecommitdiffstats
path: root/remoting/host/host_port_allocator.cc
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-27 21:01:12 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-27 21:01:12 +0000
commit56955a78a086fd1fbd186533bc6ece22a77ca003 (patch)
treef17d94ac50194b72231d3d69bb0570bd5f694638 /remoting/host/host_port_allocator.cc
parent6df1360b590117ee806a8e1cedaa133697d67b2e (diff)
downloadchromium_src-56955a78a086fd1fbd186533bc6ece22a77ca003.zip
chromium_src-56955a78a086fd1fbd186533bc6ece22a77ca003.tar.gz
chromium_src-56955a78a086fd1fbd186533bc6ece22a77ca003.tar.bz2
Always use chromium threads for IO in remoting host
BUG=137140 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148418 Review URL: https://chromiumcodereview.appspot.com/10808094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148803 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/host_port_allocator.cc')
-rw-r--r--remoting/host/host_port_allocator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/host/host_port_allocator.cc b/remoting/host/host_port_allocator.cc
index a3ca33a..cf76f52 100644
--- a/remoting/host/host_port_allocator.cc
+++ b/remoting/host/host_port_allocator.cc
@@ -13,7 +13,7 @@
#include "net/url_request/url_fetcher_delegate.h"
#include "net/url_request/url_request_context_getter.h"
#include "remoting/host/network_settings.h"
-#include "third_party/libjingle/source/talk/base/basicpacketsocketfactory.h"
+#include "remoting/jingle_glue/chromium_socket_factory.h"
namespace remoting {
@@ -128,7 +128,7 @@ scoped_ptr<HostPortAllocator> HostPortAllocator::Create(
scoped_ptr<talk_base::NetworkManager> network_manager(
new talk_base::BasicNetworkManager());
scoped_ptr<talk_base::PacketSocketFactory> socket_factory(
- new talk_base::BasicPacketSocketFactory());
+ new remoting::ChromiumPacketSocketFactory());
scoped_ptr<HostPortAllocator> result(
new HostPortAllocator(url_context, network_manager.Pass(),
socket_factory.Pass()));