diff options
Diffstat (limited to 'remoting/jingle_glue')
-rw-r--r-- | remoting/jingle_glue/jingle_client.cc | 15 | ||||
-rw-r--r-- | remoting/jingle_glue/jingle_client.h | 6 | ||||
-rw-r--r-- | remoting/jingle_glue/jingle_client_unittest.cc | 4 |
3 files changed, 3 insertions, 22 deletions
diff --git a/remoting/jingle_glue/jingle_client.cc b/remoting/jingle_glue/jingle_client.cc index b7b27c4..c2f9cd7 100644 --- a/remoting/jingle_glue/jingle_client.cc +++ b/remoting/jingle_glue/jingle_client.cc @@ -167,21 +167,6 @@ JavascriptIqRequest* JavascriptSignalStrategy::CreateIqRequest() { JingleClient::JingleClient(JingleThread* thread, SignalStrategy* signal_strategy, - PortAllocatorSessionFactory* session_factory, - Callback* callback) - : enable_nat_traversing_(false), - thread_(thread), - state_(START), - initialized_(false), - closed_(false), - initialized_finished_(false), - callback_(callback), - signal_strategy_(signal_strategy), - port_allocator_session_factory_(session_factory) { -} - -JingleClient::JingleClient(JingleThread* thread, - SignalStrategy* signal_strategy, talk_base::NetworkManager* network_manager, talk_base::PacketSocketFactory* socket_factory, PortAllocatorSessionFactory* session_factory, diff --git a/remoting/jingle_glue/jingle_client.h b/remoting/jingle_glue/jingle_client.h index a1d6806..cb7e2d3 100644 --- a/remoting/jingle_glue/jingle_client.h +++ b/remoting/jingle_glue/jingle_client.h @@ -137,14 +137,10 @@ class JingleClient : public base::RefCountedThreadSafe<JingleClient>, }; // Physical sockets are used if |network_manager| and - // |socket_factory| are not specified. Otherwise ownership of these + // |socket_factory| are set to NULL. Otherwise ownership of these // objects is given to JingleClient. JingleClient(JingleThread* thread, SignalStrategy* signal_strategy, - PortAllocatorSessionFactory* session_factory, - Callback* callback); - JingleClient(JingleThread* thread, - SignalStrategy* signal_strategy, talk_base::NetworkManager* network_manager, talk_base::PacketSocketFactory* socket_factory, PortAllocatorSessionFactory* session_factory, diff --git a/remoting/jingle_glue/jingle_client_unittest.cc b/remoting/jingle_glue/jingle_client_unittest.cc index 938e0a3..e6e79a3 100644 --- a/remoting/jingle_glue/jingle_client_unittest.cc +++ b/remoting/jingle_glue/jingle_client_unittest.cc @@ -41,8 +41,8 @@ class JingleClientTest : public testing::Test { virtual void SetUp() { signal_strategy_.reset(new XmppSignalStrategy(&thread_, "", "", "")); client_ = new JingleClient(&thread_, signal_strategy_.get(), NULL, - &callback_); - // Fake initialization + NULL, NULL, &callback_); + // Fake initialization. client_->initialized_ = true; signal_strategy_->observer_ = client_; } |