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

Unified Diff: chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc

Issue 2768023002: Move remaining @CalledByNative methods out of ChromeApplication. (Closed)
Patch Set: Created 3 years, 9 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/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 6b99bf13e721fd50339910cb95002190283289cd..a68e65ca4c48ef2518b08f3e22696ea107c30c44 100644
--- a/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc
+++ b/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc
@@ -35,7 +35,7 @@
#include "ui/gfx/text_utils.h"
#if defined(OS_ANDROID)
-#include "chrome/browser/android/chrome_application.h"
+#include "chrome/browser/android/preferences/preferences_launcher.h"
#endif
namespace autofill {
@@ -226,7 +226,7 @@ void PasswordGenerationPopupControllerImpl::ViewDestroyed() {
void PasswordGenerationPopupControllerImpl::OnSavedPasswordsLinkClicked() {
#if defined(OS_ANDROID)
- chrome::android::ChromeApplication::ShowPasswordSettings();
+ chrome::android::PreferencesLauncher::ShowPasswordSettings();
#else
chrome::NavigateParams params(
chrome::FindBrowserWithWebContents(web_contents()),

Powered by Google App Engine
This is Rietveld 408576698