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

Unified Diff: remoting/protocol/jingle_session_unittest.cc

Issue 7312013: Minor cleanups in JingleSession and JingleSessionManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 5 months 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
Index: remoting/protocol/jingle_session_unittest.cc
diff --git a/remoting/protocol/jingle_session_unittest.cc b/remoting/protocol/jingle_session_unittest.cc
index 0097e36c2cf586c3562a41e94433f9b4f775ea3e..4c47bc18be98e67855365c851b55a8d0e34c4e1f 100644
--- a/remoting/protocol/jingle_session_unittest.cc
+++ b/remoting/protocol/jingle_session_unittest.cc
@@ -174,7 +174,7 @@ class JingleSessionTest : public testing::Test {
FakeSignalStrategy::Connect(host_signal_strategy_.get(),
client_signal_strategy_.get());
- host_server_.reset(new JingleSessionManager(NULL, NULL, NULL));
+ host_server_.reset(JingleSessionManager::Create());
host_server_->set_allow_local_ips(true);
host_server_->Init(
kHostJid, host_signal_strategy_.get(),
@@ -183,7 +183,7 @@ class JingleSessionTest : public testing::Test {
private_key.release(),
cert);
- client_server_.reset(new JingleSessionManager(NULL, NULL, NULL));
+ client_server_.reset(JingleSessionManager::Create());
client_server_->set_allow_local_ips(true);
client_server_->Init(
kClientJid, client_signal_strategy_.get(),

Powered by Google App Engine
This is Rietveld 408576698