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

Unified Diff: remoting/host/url_fetcher_unittest.cc

Issue 10173009: Always create URLRequestContextGetter in ChromotingHostContext. (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 | « remoting/host/chromoting_host_context.cc ('k') | remoting/host/url_request_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/url_fetcher_unittest.cc
diff --git a/remoting/host/url_fetcher_unittest.cc b/remoting/host/url_fetcher_unittest.cc
index 614474ec3ad4bc8015f2c13c3befbc08c639141d..811fe419592b116ea525001874850660fc708298 100644
--- a/remoting/host/url_fetcher_unittest.cc
+++ b/remoting/host/url_fetcher_unittest.cc
@@ -31,8 +31,10 @@ class UrlFetcherTest : public testing::Test {
base::Thread::Options(MessageLoop::TYPE_IO, 0)));
ASSERT_TRUE(file_thread_.StartWithOptions(
base::Thread::Options(MessageLoop::TYPE_IO, 0)));
- context_getter_ = new URLRequestContextGetter(io_thread_.message_loop(),
- file_thread_.message_loop());
+ context_getter_ = new URLRequestContextGetter(
+ message_loop_.message_loop_proxy(),
+ io_thread_.message_loop(),
+ static_cast<MessageLoopForIO*>(file_thread_.message_loop()));
ASSERT_TRUE(test_server_.Start());
}
« no previous file with comments | « remoting/host/chromoting_host_context.cc ('k') | remoting/host/url_request_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698