Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3688)

Unified Diff: components/password_manager/core/browser/password_manager_unittest.cc

Issue 250353003: Password bubble: refactor ManagePasswordsIconView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/cc/h Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/password_manager/core/browser/password_form_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/password_manager_unittest.cc
diff --git a/components/password_manager/core/browser/password_manager_unittest.cc b/components/password_manager/core/browser/password_manager_unittest.cc
index fdaec85ecdec1f362fbace2f55e2c7093169a2eb..4a4244ba1876ac0d5c009cc82c5e638ed8d52e8f 100644
--- a/components/password_manager/core/browser/password_manager_unittest.cc
+++ b/components/password_manager/core/browser/password_manager_unittest.cc
@@ -10,6 +10,7 @@
#include "base/prefs/testing_pref_service.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
+#include "components/password_manager/core/browser/mock_password_manager_driver.h"
#include "components/password_manager/core/browser/mock_password_store.h"
#include "components/password_manager/core/browser/password_autofill_manager.h"
#include "components/password_manager/core/browser/password_manager.h"
@@ -47,22 +48,6 @@ class MockPasswordManagerClient : public StubPasswordManagerClient {
MOCK_METHOD0(GetDriver, PasswordManagerDriver*());
};
-class MockPasswordManagerDriver : public PasswordManagerDriver {
- public:
- MOCK_METHOD1(FillPasswordForm, void(const autofill::PasswordFormFillData&));
- MOCK_METHOD0(DidLastPageLoadEncounterSSLErrors, bool());
- MOCK_METHOD0(IsOffTheRecord, bool());
- MOCK_METHOD0(GetPasswordGenerationManager, PasswordGenerationManager*());
- MOCK_METHOD0(GetPasswordManager, PasswordManager*());
- MOCK_METHOD0(GetAutofillManager, autofill::AutofillManager*());
- MOCK_METHOD1(AllowPasswordGenerationForForm, void(autofill::PasswordForm*));
- MOCK_METHOD1(AccountCreationFormsFound,
- void(const std::vector<autofill::FormData>&));
- MOCK_METHOD2(AcceptPasswordAutofillSuggestion,
- void(const base::string16&, const base::string16&));
- MOCK_METHOD0(GetPasswordAutofillManager, PasswordAutofillManager*());
-};
-
ACTION_P(InvokeConsumer, forms) { arg0->OnGetPasswordStoreResults(forms); }
ACTION_P(SaveToScopedPtr, scoped) { scoped->reset(arg0); }
« no previous file with comments | « components/password_manager/core/browser/password_form_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698