Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(906)

Unified Diff: jingle/notifier/communicator/single_login_attempt_unittest.cc

Issue 1128793002: [jingle] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding name to Authors file Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: jingle/notifier/communicator/single_login_attempt_unittest.cc
diff --git a/jingle/notifier/communicator/single_login_attempt_unittest.cc b/jingle/notifier/communicator/single_login_attempt_unittest.cc
index d791f4a7fe6d1bff29e7b6c54ed3060e71a7f26c..f14238a6dc75096d57e027297ef9110dcb9284dc 100644
--- a/jingle/notifier/communicator/single_login_attempt_unittest.cc
+++ b/jingle/notifier/communicator/single_login_attempt_unittest.cc
@@ -9,6 +9,7 @@
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
+#include "base/thread_task_runner_handle.h"
#include "jingle/notifier/base/const_communicator.h"
#include "jingle/notifier/base/fake_base_task.h"
#include "jingle/notifier/communicator/login_settings.h"
@@ -82,7 +83,7 @@ class SingleLoginAttemptTest : public ::testing::Test {
: login_settings_(
buzz::XmppClientSettings(),
new net::TestURLRequestContextGetter(
- base::MessageLoopProxy::current(),
+ base::ThreadTaskRunnerHandle::Get(),
scoped_ptr<net::TestURLRequestContext>(
new MyTestURLRequestContext())),
ServerList(
« no previous file with comments | « jingle/glue/proxy_resolving_client_socket_unittest.cc ('k') | jingle/notifier/listener/non_blocking_push_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698