Index: remoting/jingle_glue/xmpp_signal_strategy.h |
=================================================================== |
--- remoting/jingle_glue/xmpp_signal_strategy.h (revision 148577) |
+++ remoting/jingle_glue/xmpp_signal_strategy.h (working copy) |
@@ -21,14 +21,6 @@ |
#include "third_party/libjingle/source/talk/base/sigslot.h" |
#include "third_party/libjingle/source/talk/xmpp/xmppclient.h" |
-namespace net { |
-class URLRequestContextGetter; |
-} // namespace net |
- |
-namespace talk_base { |
-class TaskRunner; |
-} // namespace talk_base |
- |
namespace remoting { |
class JingleThread; |
@@ -38,11 +30,10 @@ |
public buzz::XmppStanzaHandler, |
public sigslot::has_slots<> { |
public: |
- XmppSignalStrategy( |
- scoped_refptr<net::URLRequestContextGetter> request_context_getter, |
- const std::string& username, |
- const std::string& auth_token, |
- const std::string& auth_token_service); |
+ XmppSignalStrategy(JingleThread* thread, |
+ const std::string& username, |
+ const std::string& auth_token, |
+ const std::string& auth_token_service); |
virtual ~XmppSignalStrategy(); |
// SignalStrategy interface. |
@@ -79,12 +70,12 @@ |
void SendKeepAlive(); |
- scoped_refptr<net::URLRequestContextGetter> request_context_getter_; |
+ JingleThread* thread_; |
+ |
std::string username_; |
std::string auth_token_; |
std::string auth_token_service_; |
std::string resource_name_; |
- scoped_ptr<talk_base::TaskRunner> task_runner_; |
buzz::XmppClient* xmpp_client_; |
State state_; |