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

Unified Diff: components/invalidation/gcm_network_channel_unittest.cc

Issue 1144153004: components: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. 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
« no previous file with comments | « components/invalidation/gcm_network_channel.cc ('k') | components/invalidation/invalidation_notifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/invalidation/gcm_network_channel_unittest.cc
diff --git a/components/invalidation/gcm_network_channel_unittest.cc b/components/invalidation/gcm_network_channel_unittest.cc
index 6c1bac68758ed9db087c592ba6ca7271b71db843..34ab7fabd897a67feba4f47c80c4a1b51a573427 100644
--- a/components/invalidation/gcm_network_channel_unittest.cc
+++ b/components/invalidation/gcm_network_channel_unittest.cc
@@ -4,6 +4,7 @@
#include "base/run_loop.h"
#include "base/strings/string_util.h"
+#include "base/thread_task_runner_handle.h"
#include "components/invalidation/gcm_network_channel.h"
#include "google_apis/gaia/google_service_auth_error.h"
#include "net/url_request/test_url_fetcher_factory.h"
@@ -129,7 +130,7 @@ class GCMNetworkChannelTest
void SetUp() override {
request_context_getter_ = new net::TestURLRequestContextGetter(
- base::MessageLoopProxy::current());
+ base::ThreadTaskRunnerHandle::Get());
// Ownership of delegate goes to GCNMentworkChannel but test needs pointer
// to it.
delegate_ = new TestGCMNetworkChannelDelegate();
« no previous file with comments | « components/invalidation/gcm_network_channel.cc ('k') | components/invalidation/invalidation_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698