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

Unified Diff: remoting/jingle_glue/xmpp_signal_strategy.h

Issue 10829040: Revert 148418 - Always use chromium threads for IO in remoting host (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « remoting/jingle_glue/ssl_socket_adapter.cc ('k') | remoting/jingle_glue/xmpp_signal_strategy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « remoting/jingle_glue/ssl_socket_adapter.cc ('k') | remoting/jingle_glue/xmpp_signal_strategy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698