| Index: chrome/browser/password_manager/credential_manager_browsertest.cc
|
| diff --git a/chrome/browser/password_manager/credential_manager_browsertest.cc b/chrome/browser/password_manager/credential_manager_browsertest.cc
|
| index d10b36344e380c873e3e1f0edb969adfaf624507..55cb8204fee8eb99b9f54871c2c460104d861bbd 100644
|
| --- a/chrome/browser/password_manager/credential_manager_browsertest.cc
|
| +++ b/chrome/browser/password_manager/credential_manager_browsertest.cc
|
| @@ -13,7 +13,6 @@
|
| #include "chrome/browser/ui/passwords/passwords_model_delegate.h"
|
| #include "chrome/test/base/ui_test_utils.h"
|
| #include "components/password_manager/core/browser/password_bubble_experiment.h"
|
| -#include "components/password_manager/core/browser/password_store_consumer.h"
|
| #include "components/password_manager/core/browser/test_password_store.h"
|
| #include "content/public/test/browser_test.h"
|
| #include "content/public/test/browser_test_utils.h"
|
| @@ -23,28 +22,6 @@
|
|
|
| namespace {
|
|
|
| -// A helper class that synchronously waits until the password store handles a
|
| -// GetLogins() request.
|
| -class PasswordStoreResultsObserver
|
| - : public password_manager::PasswordStoreConsumer {
|
| - public:
|
| - PasswordStoreResultsObserver() = default;
|
| -
|
| - void OnGetPasswordStoreResults(
|
| - std::vector<std::unique_ptr<autofill::PasswordForm>> results) override {
|
| - run_loop_.Quit();
|
| - }
|
| -
|
| - void Wait() {
|
| - run_loop_.Run();
|
| - }
|
| -
|
| - private:
|
| - base::RunLoop run_loop_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(PasswordStoreResultsObserver);
|
| -};
|
| -
|
| class CredentialManagerBrowserTest : public PasswordManagerBrowserTestBase {
|
| public:
|
| CredentialManagerBrowserTest() = default;
|
|
|