summaryrefslogtreecommitdiffstats
path: root/jingle
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-16 01:58:28 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-16 01:58:28 +0000
commit4969b012f10da24416e15e8812281519caf528ec (patch)
treea431b70300694107dab580fa64d333d1ef62fad6 /jingle
parente67eb42a67faaa070b80a391cb1b11e39d8e6368 (diff)
downloadchromium_src-4969b012f10da24416e15e8812281519caf528ec.zip
chromium_src-4969b012f10da24416e15e8812281519caf528ec.tar.gz
chromium_src-4969b012f10da24416e15e8812281519caf528ec.tar.bz2
Replace GetIOMessageLoopProxy() with GetNetworkTaskRunner() in UrlRequestContextGetter.
Also updated all code that depends on that methods. TBR=mnissler@chromium.org Review URL: https://chromiumcodereview.appspot.com/10539148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle')
-rw-r--r--jingle/notifier/listener/push_client.cc4
-rw-r--r--jingle/notifier/listener/xmpp_push_client.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/jingle/notifier/listener/push_client.cc b/jingle/notifier/listener/push_client.cc
index f96e8f8..f18ed52 100644
--- a/jingle/notifier/listener/push_client.cc
+++ b/jingle/notifier/listener/push_client.cc
@@ -27,13 +27,13 @@ scoped_ptr<PushClient> CreateXmppPushClient(
scoped_ptr<PushClient> PushClient::CreateDefault(
const NotifierOptions& notifier_options) {
return scoped_ptr<PushClient>(new NonBlockingPushClient(
- notifier_options.request_context_getter->GetIOMessageLoopProxy(),
+ notifier_options.request_context_getter->GetNetworkTaskRunner(),
base::Bind(&CreateXmppPushClient, notifier_options)));
}
scoped_ptr<PushClient> PushClient::CreateDefaultOnIOThread(
const NotifierOptions& notifier_options) {
- CHECK(notifier_options.request_context_getter->GetIOMessageLoopProxy()->
+ CHECK(notifier_options.request_context_getter->GetNetworkTaskRunner()->
BelongsToCurrentThread());
return CreateXmppPushClient(notifier_options);
}
diff --git a/jingle/notifier/listener/xmpp_push_client.cc b/jingle/notifier/listener/xmpp_push_client.cc
index dcf828d8..b1272f3 100644
--- a/jingle/notifier/listener/xmpp_push_client.cc
+++ b/jingle/notifier/listener/xmpp_push_client.cc
@@ -15,7 +15,7 @@ namespace notifier {
XmppPushClient::XmppPushClient(const NotifierOptions& notifier_options)
: notifier_options_(notifier_options) {
DCHECK(notifier_options_.request_context_getter->
- GetIOMessageLoopProxy()->BelongsToCurrentThread());
+ GetNetworkTaskRunner()->BelongsToCurrentThread());
}
XmppPushClient::~XmppPushClient() {