| Index: chrome/browser/password_manager/password_generation_manager_unittest.cc
|
| diff --git a/chrome/browser/password_manager/password_generation_manager_unittest.cc b/chrome/browser/password_manager/password_generation_manager_unittest.cc
|
| index 3f4a75e428219d96b4879cb02f149cdb8e3fd2d4..e9fce019ba0b065ed7fdf62d83549daeb322f97c 100644
|
| --- a/chrome/browser/password_manager/password_generation_manager_unittest.cc
|
| +++ b/chrome/browser/password_manager/password_generation_manager_unittest.cc
|
| @@ -42,19 +42,14 @@ class TestPasswordGenerationManager : public PasswordGenerationManager {
|
| };
|
|
|
| class PasswordGenerationManagerTest : public ChromeRenderViewHostTestHarness {
|
| - public:
|
| - PasswordGenerationManagerTest()
|
| - : ChromeRenderViewHostTestHarness(),
|
| - ui_thread_(content::BrowserThread::UI, &message_loop_),
|
| - io_thread_(content::BrowserThread::IO) {}
|
| -
|
| + protected:
|
| virtual void SetUp() OVERRIDE {
|
| TestingProfile* profile = CreateProfile();
|
| profile->CreateRequestContext();
|
| browser_context_.reset(profile);
|
|
|
| + SetThreadBundleOptions(content::TestBrowserThreadBundle::REAL_IO_THREAD);
|
| ChromeRenderViewHostTestHarness::SetUp();
|
| - io_thread_.StartIOThread();
|
|
|
| password_generation_manager_.reset(
|
| new TestPasswordGenerationManager(web_contents()));
|
| @@ -72,10 +67,6 @@ class PasswordGenerationManagerTest : public ChromeRenderViewHostTestHarness {
|
| password_generation_manager_->UpdateState(NULL, new_renderer);
|
| }
|
|
|
| - protected:
|
| - content::TestBrowserThread ui_thread_;
|
| - content::TestBrowserThread io_thread_;
|
| -
|
| scoped_ptr<TestPasswordGenerationManager> password_generation_manager_;
|
| };
|
|
|
|
|