Index: remoting/host/remoting_me2me_host.cc |
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc |
index 7dbebc5f9adca5c6d23dca1d528e41426940ccfc..b664dd2ef2929c0dcf9c8b952accdad7c0167268 100644 |
--- a/remoting/host/remoting_me2me_host.cc |
+++ b/remoting/host/remoting_me2me_host.cc |
@@ -38,6 +38,7 @@ |
#include "policy/policy_constants.h" |
#include "remoting/base/auto_thread_task_runner.h" |
#include "remoting/base/breakpad.h" |
+#include "remoting/base/chromium_url_request.h" |
#include "remoting/base/constants.h" |
#include "remoting/base/logging.h" |
#include "remoting/base/rsa_key_pair.h" |
@@ -80,7 +81,7 @@ |
#include "remoting/host/video_frame_recorder_host_extension.h" |
#include "remoting/protocol/authenticator.h" |
#include "remoting/protocol/channel_authenticator.h" |
-#include "remoting/protocol/chromium_port_allocator.h" |
+#include "remoting/protocol/chromium_port_allocator_factory.h" |
#include "remoting/protocol/jingle_session_manager.h" |
#include "remoting/protocol/me2me_host_authenticator_factory.h" |
#include "remoting/protocol/network_settings.h" |
@@ -1522,7 +1523,8 @@ void HostProcess::StartHost() { |
scoped_refptr<protocol::TransportContext> transport_context = |
new protocol::TransportContext( |
signal_strategy_.get(), |
- make_scoped_ptr(new protocol::ChromiumPortAllocatorFactory( |
+ make_scoped_ptr(new protocol::ChromiumPortAllocatorFactory()), |
+ make_scoped_ptr(new ChromiumUrlRequestFactory( |
context_->url_request_context_getter())), |
network_settings, protocol::TransportRole::SERVER); |