summaryrefslogtreecommitdiffstats
path: root/jingle/notifier/base
diff options
context:
space:
mode:
authornduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-15 20:33:46 +0000
committernduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-15 20:33:46 +0000
commitedd685f15dfd2841aaeddab567aea0623db1ae69 (patch)
tree9caa53e84eb2787471dd16009daf02fb85f8890e /jingle/notifier/base
parent5b79e5250785613d6dc7a42a27a45bb44b9cf7a0 (diff)
downloadchromium_src-edd685f15dfd2841aaeddab567aea0623db1ae69.zip
chromium_src-edd685f15dfd2841aaeddab567aea0623db1ae69.tar.gz
chromium_src-edd685f15dfd2841aaeddab567aea0623db1ae69.tar.bz2
Add MessageLoopProxy::current
Review URL: http://codereview.chromium.org/7583053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96819 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle/notifier/base')
-rw-r--r--jingle/notifier/base/proxy_resolving_client_socket_unittest.cc2
-rw-r--r--jingle/notifier/base/xmpp_connection_unittest.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/jingle/notifier/base/proxy_resolving_client_socket_unittest.cc b/jingle/notifier/base/proxy_resolving_client_socket_unittest.cc
index c7dc618..e0a46e5 100644
--- a/jingle/notifier/base/proxy_resolving_client_socket_unittest.cc
+++ b/jingle/notifier/base/proxy_resolving_client_socket_unittest.cc
@@ -17,7 +17,7 @@ namespace {
class TestURLRequestContextGetter : public net::URLRequestContextGetter {
public:
TestURLRequestContextGetter()
- : message_loop_proxy_(base::MessageLoopProxy::CreateForCurrentThread()) {
+ : message_loop_proxy_(base::MessageLoopProxy::current()) {
}
virtual ~TestURLRequestContextGetter() { }
diff --git a/jingle/notifier/base/xmpp_connection_unittest.cc b/jingle/notifier/base/xmpp_connection_unittest.cc
index 3b85363..4e1baa3 100644
--- a/jingle/notifier/base/xmpp_connection_unittest.cc
+++ b/jingle/notifier/base/xmpp_connection_unittest.cc
@@ -38,7 +38,7 @@ namespace {
class TestURLRequestContextGetter : public net::URLRequestContextGetter {
public:
TestURLRequestContextGetter()
- : message_loop_proxy_(base::MessageLoopProxy::CreateForCurrentThread()) {
+ : message_loop_proxy_(base::MessageLoopProxy::current()) {
}
virtual ~TestURLRequestContextGetter() { }