| Index: chrome/browser/password_manager/password_manager_unittest.cc
|
| diff --git a/chrome/browser/password_manager/password_manager_unittest.cc b/chrome/browser/password_manager/password_manager_unittest.cc
|
| index dfdd956786f68ee672f3e12b859096836ae5c572..dd98b91ebc7ea23d93631bd51d5a66e94582a9fb 100644
|
| --- a/chrome/browser/password_manager/password_manager_unittest.cc
|
| +++ b/chrome/browser/password_manager/password_manager_unittest.cc
|
| @@ -23,13 +23,12 @@
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| -using content::BrowserThread;
|
| using content::PasswordForm;
|
| using testing::_;
|
| using testing::DoAll;
|
| -using ::testing::Exactly;
|
| -using ::testing::WithArg;
|
| -using ::testing::Return;
|
| +using testing::Exactly;
|
| +using testing::Return;
|
| +using testing::WithArg;
|
|
|
| class MockPasswordManagerDelegate : public PasswordManagerDelegate {
|
| public:
|
| @@ -48,11 +47,6 @@ ACTION_P(SaveToScopedPtr, scoped) {
|
| }
|
|
|
| class PasswordManagerTest : public ChromeRenderViewHostTestHarness {
|
| - public:
|
| - PasswordManagerTest()
|
| - : ui_thread_(BrowserThread::UI, base::MessageLoopForUI::current()) {}
|
| - virtual ~PasswordManagerTest() {}
|
| -
|
| protected:
|
| virtual void SetUp() {
|
| testing_profile_ = new TestingProfile;
|
| @@ -93,9 +87,6 @@ class PasswordManagerTest : public ChromeRenderViewHostTestHarness {
|
| return PasswordManager::FromWebContents(web_contents());
|
| }
|
|
|
| - // We create a UI thread to satisfy PasswordStore.
|
| - content::TestBrowserThread ui_thread_;
|
| -
|
| scoped_refptr<MockPasswordStore> store_;
|
| MockPasswordManagerDelegate delegate_; // Owned by manager_.
|
|
|
|
|