summaryrefslogtreecommitdiffstats
path: root/chrome/browser/android/chromium_application.cc
diff options
context:
space:
mode:
authorrouslan <rouslan@chromium.org>2014-10-25 15:48:24 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-25 22:48:46 +0000
commitfe68095a89368864cd50b34ac6d1f3d198dd443b (patch)
treeddebad69f72d2e587662221a523254427b64ffb0 /chrome/browser/android/chromium_application.cc
parent7d6b4f8b303603f2cf27220f0871df3812880a25 (diff)
downloadchromium_src-fe68095a89368864cd50b34ac6d1f3d198dd443b.zip
chromium_src-fe68095a89368864cd50b34ac6d1f3d198dd443b.tar.gz
chromium_src-fe68095a89368864cd50b34ac6d1f3d198dd443b.tar.bz2
[android] Show saved password settings.
This patch enables showing the saved passwords settings page on Android by invoking this method: chrome::android::ChromiumApplication::ShowPasswordSettings() This is similar to the existing method: chrome::android::ChromiumApplication::ShowAutofillSettings() The new method is to be used in password management UI for Android. BUG=412150 Review URL: https://codereview.chromium.org/656663004 Cr-Commit-Position: refs/heads/master@{#301296}
Diffstat (limited to 'chrome/browser/android/chromium_application.cc')
-rw-r--r--chrome/browser/android/chromium_application.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/android/chromium_application.cc b/chrome/browser/android/chromium_application.cc
index fa7bd02..133897b 100644
--- a/chrome/browser/android/chromium_application.cc
+++ b/chrome/browser/android/chromium_application.cc
@@ -35,6 +35,12 @@ void ChromiumApplication::ShowAutofillSettings() {
base::android::GetApplicationContext());
}
+void ChromiumApplication::ShowPasswordSettings() {
+ Java_ChromiumApplication_showPasswordSettings(
+ base::android::AttachCurrentThread(),
+ base::android::GetApplicationContext());
+}
+
void ChromiumApplication::ShowTermsOfServiceDialog() {
Java_ChromiumApplication_showTermsOfServiceDialog(
base::android::AttachCurrentThread(),