Index: chrome/browser/sync/glue/ui_model_worker_unittest.cc |
diff --git a/chrome/browser/sync/glue/ui_model_worker_unittest.cc b/chrome/browser/sync/glue/ui_model_worker_unittest.cc |
index c0230f1879016f99aa85118b1dde05705c3f0701..874aaf40fb8b89b66bd75a5480eac0bd0a29498f 100644 |
--- a/chrome/browser/sync/glue/ui_model_worker_unittest.cc |
+++ b/chrome/browser/sync/glue/ui_model_worker_unittest.cc |
@@ -9,7 +9,7 @@ |
#include "base/synchronization/waitable_event.h" |
#include "base/threading/thread.h" |
#include "chrome/browser/sync/glue/ui_model_worker.h" |
-#include "content/browser/browser_thread.h" |
+#include "content/test/test_browser_thread.h" |
#include "testing/gtest/include/gtest/gtest.h" |
using browser_sync::UIModelWorker; |
@@ -108,7 +108,8 @@ class UIModelWorkerTest : public testing::Test { |
virtual void SetUp() { |
faux_syncer_thread_.Start(); |
- ui_thread_.reset(new BrowserThread(BrowserThread::UI, &faux_ui_loop_)); |
+ ui_thread_.reset(new content::TestBrowserThread(BrowserThread::UI, |
+ &faux_ui_loop_)); |
bmw_ = new UIModelWorker(); |
syncer_.reset(new Syncer(bmw_.get())); |
} |
@@ -119,7 +120,7 @@ class UIModelWorkerTest : public testing::Test { |
base::Thread* syncer_thread() { return &faux_syncer_thread_; } |
private: |
MessageLoop faux_ui_loop_; |
- scoped_ptr<BrowserThread> ui_thread_; |
+ scoped_ptr<content::TestBrowserThread> ui_thread_; |
base::Thread faux_syncer_thread_; |
base::Thread faux_core_thread_; |
scoped_refptr<UIModelWorker> bmw_; |