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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.cc

Issue 438893002: Add ManagePasswordItemViewController and unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix constants in test Created 6 years, 4 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
Index: chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.cc b/chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.cc
index 88d6f4522b34385f59c46a672d0cedc17da9ab5f..103e5d616a54dee75ffc986e1874653a16f6bdb5 100644
--- a/chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.cc
@@ -28,6 +28,11 @@ const autofill::PasswordForm&
return pending_credentials_;
}
+void ManagePasswordsUIControllerMock::SetPendingCredentials(
+ autofill::PasswordForm pending_credentials) {
+ pending_credentials_ = pending_credentials;
+}
+
bool ManagePasswordsUIControllerMock::IsInstalled() const {
return web_contents()->GetUserData(UserDataKey()) == this;
}

Powered by Google App Engine
This is Rietveld 408576698