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

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

Issue 259153004: Password bubble: Give users the option of unblacklisting a site. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller_mock.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller_mock.cc b/chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller_mock.cc
index 6ea3414914be4ef754e8b6771f7704716a8afce8..a0e8d09fb9f547462bd64b5965bdefb94b616232 100644
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller_mock.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_ui_controller_mock.cc
@@ -11,7 +11,8 @@ ManagePasswordsBubbleUIControllerMock::ManagePasswordsBubbleUIControllerMock(
: ManagePasswordsBubbleUIController(contents),
navigated_to_settings_page_(false),
saved_password_(false),
- never_saved_password_(false) {
+ never_saved_password_(false),
+ unblacklisted_site_(false) {
contents->SetUserData(UserDataKey(), this);
}
@@ -39,3 +40,7 @@ void ManagePasswordsBubbleUIControllerMock::SavePassword() {
void ManagePasswordsBubbleUIControllerMock::NeverSavePassword() {
never_saved_password_ = true;
}
+
+void ManagePasswordsBubbleUIControllerMock::UnblacklistSite() {
+ unblacklisted_site_ = true;
+}

Powered by Google App Engine
This is Rietveld 408576698