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

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

Issue 1467993002: Remove ManagePasswordsUIController::NavigateToSmartLockPage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switching infobars to non-localised link, moving kPasswordManagerAccountDashboardURL to components Created 5 years, 1 month 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_model_unittest.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc b/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc
index b35b3386155e7af1336761bbcac43cd1d72b7d28..1cec681d9bf02360ba57291bb6b6afeb940ec2ca 100644
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc
@@ -83,7 +83,6 @@ class ManagePasswordsUIControllerMockWithMockNavigation
MOCK_METHOD0(NavigateToPasswordManagerSettingsPage, void());
MOCK_METHOD0(NavigateToExternalPasswordManager, void());
- MOCK_METHOD0(NavigateToSmartLockPage, void());
MOCK_METHOD0(NavigateToSmartLockHelpPage, void());
MOCK_CONST_METHOD0(GetCurrentInteractionStats,
password_manager::InteractionsStats*());
@@ -578,7 +577,7 @@ TEST_P(ManagePasswordsBubbleModelBrandLinkTest, OnBrandLinkClicked) {
switch (test_case.expected_target) {
case BrandLinkTarget::SMART_LOCK_HOME:
- EXPECT_CALL(*controller(), NavigateToSmartLockPage());
+ EXPECT_CALL(*controller(), NavigateToExternalPasswordManager());
break;
case BrandLinkTarget::SMART_LOCK_HELP:
EXPECT_CALL(*controller(), NavigateToSmartLockHelpPage());

Powered by Google App Engine
This is Rietveld 408576698