| Index: jingle/notifier/listener/push_client.cc
|
| diff --git a/jingle/notifier/listener/push_client.cc b/jingle/notifier/listener/push_client.cc
|
| index d70426451e566121d64103e5e76306e4183acd9a..f96e8f8b787ad41133b440de2b346a702b317535 100644
|
| --- a/jingle/notifier/listener/push_client.cc
|
| +++ b/jingle/notifier/listener/push_client.cc
|
| @@ -31,4 +31,11 @@ scoped_ptr<PushClient> PushClient::CreateDefault(
|
| base::Bind(&CreateXmppPushClient, notifier_options)));
|
| }
|
|
|
| +scoped_ptr<PushClient> PushClient::CreateDefaultOnIOThread(
|
| + const NotifierOptions& notifier_options) {
|
| + CHECK(notifier_options.request_context_getter->GetIOMessageLoopProxy()->
|
| + BelongsToCurrentThread());
|
| + return CreateXmppPushClient(notifier_options);
|
| +}
|
| +
|
| } // namespace notifier
|
|
|