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

Unified Diff: chrome/browser/utility_process_host_unittest.cc

Issue 353015: Last patch in removing MessageLoop* caching. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | « chrome/browser/safe_browsing/safe_browsing_service.cc ('k') | chrome/common/child_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/utility_process_host_unittest.cc
===================================================================
--- chrome/browser/utility_process_host_unittest.cc (revision 30863)
+++ chrome/browser/utility_process_host_unittest.cc (working copy)
@@ -22,11 +22,14 @@
class UtilityProcessHostTest : public testing::Test {
public:
- UtilityProcessHostTest() : io_thread_(ChromeThread::IO, &message_loop_) {
+ UtilityProcessHostTest()
+ : ui_thread_(ChromeThread::UI, &message_loop_),
+ io_thread_(ChromeThread::IO, &message_loop_) {
}
protected:
MessageLoopForIO message_loop_;
+ ChromeThread ui_thread_;
ChromeThread io_thread_;
};
@@ -139,7 +142,7 @@
scoped_refptr<TestUtilityProcessHostClient> client(
new TestUtilityProcessHostClient());
- ResourceDispatcherHost rdh(NULL);
+ ResourceDispatcherHost rdh;
TestUtilityProcessHost* process_host =
new TestUtilityProcessHost(client.get(), &rdh);
// process_host will delete itself when it's done.
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service.cc ('k') | chrome/common/child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698