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

Unified Diff: net/proxy/proxy_config_service_linux_unittest.cc

Issue 10140010: Use base::MessageLoopProxy instead of MessageLoop in ProxyConfigServiceLinux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « net/proxy/proxy_config_service_linux.cc ('k') | net/proxy/proxy_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_config_service_linux_unittest.cc
diff --git a/net/proxy/proxy_config_service_linux_unittest.cc b/net/proxy/proxy_config_service_linux_unittest.cc
index f8e223880d56cbeb12c29c4d9ea6d3f1188f3c8a..ad12ea64805043b53d567ea7ffa4661dfa66c097 100644
--- a/net/proxy/proxy_config_service_linux_unittest.cc
+++ b/net/proxy/proxy_config_service_linux_unittest.cc
@@ -175,7 +175,7 @@ class MockSettingGetter
values = zero_values;
}
- virtual bool Init(MessageLoop* glib_default_loop,
+ virtual bool Init(base::MessageLoopProxy* glib_default_loop,
MessageLoopForIO* file_loop) OVERRIDE {
return true;
}
@@ -187,7 +187,7 @@ class MockSettingGetter
return true;
}
- virtual MessageLoop* GetNotificationLoop() OVERRIDE {
+ virtual base::MessageLoopProxy* GetNotificationLoop() OVERRIDE {
return NULL;
}
@@ -292,7 +292,7 @@ class SynchConfigGetter {
DCHECK_EQ(MessageLoop::TYPE_IO, file_loop->type());
// We pass the mock IO thread as both the IO and file threads.
config_service_->SetupAndFetchInitialConfig(
- MessageLoop::current(), io_thread_.message_loop(),
+ base::MessageLoopProxy::current(), io_thread_.message_loop_proxy(),
static_cast<MessageLoopForIO*>(file_loop));
}
// Synchronously gets the proxy config.
« no previous file with comments | « net/proxy/proxy_config_service_linux.cc ('k') | net/proxy/proxy_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698