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

Unified Diff: remoting/test/protocol_perftest.cc

Issue 1530523002: More cleanups in JingleSessionManager interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@transport_context
Patch Set: Created 5 years 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/protocol/session_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/protocol_perftest.cc
diff --git a/remoting/test/protocol_perftest.cc b/remoting/test/protocol_perftest.cc
index 92cc8fe5cc7829e3ff9a0e5b3066f85a1d8bb076..fc12ad5dca408c35f7f1871e31eae440826a2aee 100644
--- a/remoting/test/protocol_perftest.cc
+++ b/remoting/test/protocol_perftest.cc
@@ -239,14 +239,15 @@ class ProtocolPerfTest
network_settings, protocol::TransportRole::SERVER));
scoped_ptr<protocol::SessionManager> session_manager(
- new protocol::JingleSessionManager(make_scoped_ptr(
- new protocol::IceTransportFactory(transport_context))));
+ new protocol::JingleSessionManager(
+ make_scoped_ptr(
+ new protocol::IceTransportFactory(transport_context)),
+ host_signaling_.get()));
session_manager->set_protocol_config(protocol_config_->Clone());
// Encoder runs on a separate thread, main thread is used for everything
// else.
- host_.reset(new ChromotingHost(host_signaling_.get(),
- &desktop_environment_factory_,
+ host_.reset(new ChromotingHost(&desktop_environment_factory_,
session_manager.Pass(),
host_thread_.task_runner(),
host_thread_.task_runner(),
« no previous file with comments | « remoting/protocol/session_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698