Chromium Code Reviews| Index: chrome/browser/safe_browsing/client_side_detection_host_unittest.cc |
| =================================================================== |
| --- chrome/browser/safe_browsing/client_side_detection_host_unittest.cc (revision 93934) |
| +++ chrome/browser/safe_browsing/client_side_detection_host_unittest.cc (working copy) |
| @@ -150,13 +150,14 @@ |
| mock_profile_ = new NiceMock<MockTestingProfile>(); |
| profile_.reset(mock_profile_); |
| - TabContentsWrapperTestHarness::SetUp(); |
| ui_thread_.reset(new BrowserThread(BrowserThread::UI, &message_loop_)); |
| // Note: we're starting a real IO thread to make sure our DCHECKs that |
| // verify which thread is running are actually tested. |
| io_thread_.reset(new BrowserThread(BrowserThread::IO)); |
| ASSERT_TRUE(io_thread_->Start()); |
| + TabContentsWrapperTestHarness::SetUp(); |
| + |
|
ycxiao
2011/07/26 17:24:14
Change the place, otherwise the DCHECK of current
|
| // Inject service classes. |
| csd_service_.reset(new StrictMock<MockClientSideDetectionService>()); |
| sb_service_ = new StrictMock<MockSafeBrowsingService>(); |