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

Unified Diff: chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc

Issue 1167163002: chrome: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added some missing message_loop.h includes. Created 5 years, 6 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: chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc
diff --git a/chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc b/chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc
index 28b808a34926e36d6bb19809413ffe93baab42d6..b7d27b575b617c883b56eb264a285b406afde1f2 100644
--- a/chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc
+++ b/chrome/test/chromedriver/net/sync_websocket_impl_unittest.cc
@@ -7,7 +7,6 @@
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "base/message_loop/message_loop.h"
-#include "base/message_loop/message_loop_proxy.h"
#include "base/single_thread_task_runner.h"
#include "base/threading/platform_thread.h"
#include "base/threading/thread.h"
@@ -30,8 +29,7 @@ class SyncWebSocketImplTest : public testing::Test {
void SetUp() override {
base::Thread::Options options(base::MessageLoop::TYPE_IO, 0);
ASSERT_TRUE(client_thread_.StartWithOptions(options));
- context_getter_ = new URLRequestContextGetter(
- client_thread_.message_loop_proxy());
+ context_getter_ = new URLRequestContextGetter(client_thread_.task_runner());
ASSERT_TRUE(server_.Start());
}
« no previous file with comments | « chrome/test/chromedriver/net/port_server_unittest.cc ('k') | chrome/test/chromedriver/net/test_http_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698