Index: chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc |
diff --git a/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc b/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc |
index a2a2c7f924588f0fe188d36aa85dfb3200d71e0f..05f7f9881bb3780ca1067e6f44ad403c3e057f2f 100644 |
--- a/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc |
+++ b/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc |
@@ -31,6 +31,10 @@ |
#include "ui/gfx/rect_conversions.h" |
#include "ui/gfx/text_utils.h" |
+#if defined(OS_ANDROID) |
+#include "chrome/browser/android/chromium_application.h" |
+#endif |
+ |
namespace autofill { |
base::WeakPtr<PasswordGenerationPopupControllerImpl> |
@@ -214,9 +218,13 @@ void PasswordGenerationPopupControllerImpl::ViewDestroyed() { |
} |
void PasswordGenerationPopupControllerImpl::OnSavedPasswordsLinkClicked() { |
+#if defined(OS_ANDROID) |
+ chrome::android::ChromiumApplication::ShowPasswordSettings(); |
+#else |
chrome::ShowSettingsSubPage( |
chrome::FindBrowserWithWebContents(controller_common_.web_contents()), |
chrome::kPasswordManagerSubPage); |
+#endif |
} |
void PasswordGenerationPopupControllerImpl::SetSelectionAtPoint( |