summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile_manager_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profile_manager_unittest.cc')
-rw-r--r--chrome/browser/profile_manager_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/profile_manager_unittest.cc b/chrome/browser/profile_manager_unittest.cc
index e38e68f..bd9e4d2 100644
--- a/chrome/browser/profile_manager_unittest.cc
+++ b/chrome/browser/profile_manager_unittest.cc
@@ -14,6 +14,9 @@
class ProfileManagerTest : public testing::Test {
protected:
+ ProfileManagerTest() : ui_thread_(ChromeThread::UI, &message_loop_) {
+ }
+
virtual void SetUp() {
// Name a subdirectory of the temp directory.
ASSERT_TRUE(PathService::Get(base::DIR_TEMP, &test_dir_));
@@ -30,6 +33,7 @@ class ProfileManagerTest : public testing::Test {
}
MessageLoopForUI message_loop_;
+ ChromeThread ui_thread_;
// the path to temporary directory used to contain the test operations
FilePath test_dir_;