Index: chrome/browser/ui/passwords/manage_passwords_ui_controller.cc |
diff --git a/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc b/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc |
index e348ec0a059b2785079defc875271fc831a9ff71..f9395cdeb11a8b3fa5bfdffb8f60dc86d082cc62 100644 |
--- a/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc |
+++ b/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc |
@@ -21,6 +21,7 @@ |
#include "components/password_manager/core/browser/browser_save_password_progress_logger.h" |
#include "components/password_manager/core/browser/password_bubble_experiment.h" |
#include "components/password_manager/core/browser/password_form_manager.h" |
+#include "components/password_manager/core/browser/password_manager_constants.h" |
#include "components/password_manager/core/browser/statistics_table.h" |
#include "components/password_manager/core/common/credential_manager_types.h" |
#include "content/public/browser/navigation_details.h" |
@@ -303,20 +304,7 @@ void ManagePasswordsUIController::NavigateToExternalPasswordManager() { |
#else |
chrome::NavigateParams params( |
chrome::FindBrowserWithWebContents(web_contents()), |
- GURL(chrome::kPasswordManagerAccountDashboardURL), |
- ui::PAGE_TRANSITION_LINK); |
- params.disposition = NEW_FOREGROUND_TAB; |
- chrome::Navigate(¶ms); |
-#endif |
-} |
- |
-void ManagePasswordsUIController::NavigateToSmartLockPage() { |
-#if defined(OS_ANDROID) |
- NOTREACHED(); |
-#else |
- chrome::NavigateParams params( |
- chrome::FindBrowserWithWebContents(web_contents()), |
- GURL(l10n_util::GetStringUTF16(IDS_PASSWORD_MANAGER_SMART_LOCK_PAGE)), |
+ GURL(password_manager::kPasswordManagerAccountDashboardURL), |
ui::PAGE_TRANSITION_LINK); |
params.disposition = NEW_FOREGROUND_TAB; |
chrome::Navigate(¶ms); |