diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-31 02:29:20 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-31 02:29:20 +0000 |
commit | 5e9e96aae1a78860b984124519f720163fc52a33 (patch) | |
tree | d29e8de21b25f313cf93d1c939fc1dd3083b92f4 /jingle | |
parent | 16efcd1cd7d75552d6ef14632030520d9bb3986c (diff) | |
download | chromium_src-5e9e96aae1a78860b984124519f720163fc52a33.zip chromium_src-5e9e96aae1a78860b984124519f720163fc52a33.tar.gz chromium_src-5e9e96aae1a78860b984124519f720163fc52a33.tar.bz2 |
Move MessageLoop to base namespace.
This adds a "using" to the header to avoid having to update everything at once. However, all forward declares and the locations that use the forward declares need to be updated (since they don't see the using in message_loop.h).
BUG=
Review URL: https://codereview.chromium.org/13243003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191566 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle')
-rw-r--r-- | jingle/glue/channel_socket_adapter.h | 4 | ||||
-rw-r--r-- | jingle/glue/fake_socket_factory.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/jingle/glue/channel_socket_adapter.h b/jingle/glue/channel_socket_adapter.h index b5ed635..baf4d4c 100644 --- a/jingle/glue/channel_socket_adapter.h +++ b/jingle/glue/channel_socket_adapter.h @@ -11,7 +11,9 @@ #include "third_party/libjingle/source/talk/base/socketaddress.h" #include "third_party/libjingle/source/talk/base/sigslot.h" +namespace base { class MessageLoop; +} namespace cricket { class TransportChannel; @@ -56,7 +58,7 @@ class TransportChannelSocketAdapter : public net::Socket, void OnWritableState(cricket::TransportChannel* channel); void OnChannelDestroyed(cricket::TransportChannel* channel); - MessageLoop* message_loop_; + base::MessageLoop* message_loop_; cricket::TransportChannel* channel_; diff --git a/jingle/glue/fake_socket_factory.h b/jingle/glue/fake_socket_factory.h index 4e4fa40..6cbfb75 100644 --- a/jingle/glue/fake_socket_factory.h +++ b/jingle/glue/fake_socket_factory.h @@ -16,7 +16,9 @@ #include "third_party/libjingle/source/talk/base/asyncpacketsocket.h" #include "third_party/libjingle/source/talk/base/packetsocketfactory.h" +namespace base { class MessageLoop; +} namespace jingle_glue { @@ -82,7 +84,7 @@ class FakeSocketManager : public base::RefCountedThreadSafe<FakeSocketManager> { const net::IPEndPoint& to, const std::vector<char>& data); - MessageLoop* message_loop_; + base::MessageLoop* message_loop_; std::map<net::IPEndPoint, FakeUDPPacketSocket*> endpoints_; DISALLOW_COPY_AND_ASSIGN(FakeSocketManager); |