diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-24 20:11:38 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-24 20:11:38 +0000 |
commit | bfea073cd44d981d663d0a83615d499a6b28bdaf (patch) | |
tree | a1138bffb3cc63cb21f0a113d2f6c46baac479f1 /remoting/jingle_glue/jingle_client.h | |
parent | 2047ef4d68229d47cba8bf7f2e0465ab31f8b3ce (diff) | |
download | chromium_src-bfea073cd44d981d663d0a83615d499a6b28bdaf.zip chromium_src-bfea073cd44d981d663d0a83615d499a6b28bdaf.tar.gz chromium_src-bfea073cd44d981d663d0a83615d499a6b28bdaf.tar.bz2 |
Cleanup usage of JingleThread in the protocol code.
JingleThread was used in some places where it is not
necessary. Replace it with MessageLoop.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7237013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90419 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/jingle_glue/jingle_client.h')
-rw-r--r-- | remoting/jingle_glue/jingle_client.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/remoting/jingle_glue/jingle_client.h b/remoting/jingle_glue/jingle_client.h index 646afac..1000c35 100644 --- a/remoting/jingle_glue/jingle_client.h +++ b/remoting/jingle_glue/jingle_client.h @@ -37,7 +37,6 @@ class SessionManager; namespace remoting { class JingleInfoRequest; -class JingleThread; class PortAllocatorSessionFactory; class JingleClient : public base::RefCountedThreadSafe<JingleClient>, @@ -54,7 +53,7 @@ class JingleClient : public base::RefCountedThreadSafe<JingleClient>, // Physical sockets are used if |network_manager| and // |socket_factory| are set to NULL. Otherwise ownership of these // objects is given to JingleClient. - JingleClient(JingleThread* thread, + JingleClient(MessageLoop* message_loop, SignalStrategy* signal_strategy, talk_base::NetworkManager* network_manager, talk_base::PacketSocketFactory* socket_factory, @@ -113,8 +112,7 @@ class JingleClient : public base::RefCountedThreadSafe<JingleClient>, // network. bool enable_nat_traversing_; - // JingleThread used for the connection. Set in the constructor. - JingleThread* thread_; + MessageLoop* message_loop_; // Current state of the object. // Must be locked when accessing initialized_ or closed_. |