summaryrefslogtreecommitdiffstats
path: root/chrome/browser/utility_process_host_unittest.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-03 23:12:42 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-03 23:12:42 +0000
commit79084c2d01586797f762cbb308cb2c204dd9a164 (patch)
treede83878b22e4641589e8d7ea8bc0fe020c429876 /chrome/browser/utility_process_host_unittest.cc
parent755bbc4326d8c6c05900d681e232ec7b069e25c2 (diff)
downloadchromium_src-79084c2d01586797f762cbb308cb2c204dd9a164.zip
chromium_src-79084c2d01586797f762cbb308cb2c204dd9a164.tar.gz
chromium_src-79084c2d01586797f762cbb308cb2c204dd9a164.tar.bz2
Last patch in removing MessageLoop* caching.
BUG=25354 Review URL: http://codereview.chromium.org/353015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30881 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/utility_process_host_unittest.cc')
-rw-r--r--chrome/browser/utility_process_host_unittest.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/utility_process_host_unittest.cc b/chrome/browser/utility_process_host_unittest.cc
index 9647ca5..3be0480 100644
--- a/chrome/browser/utility_process_host_unittest.cc
+++ b/chrome/browser/utility_process_host_unittest.cc
@@ -22,11 +22,14 @@ namespace {
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 @@ TEST_F(UtilityProcessHostTest, ExtensionUnpacker) {
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.