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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/preferences/PreferencesLauncher.java

Issue 2763133002: Move showAutofillSettings to PreferencesLauncher. (Closed)
Patch Set: Move settings @CalledByNative functions to PreferencesLauncher. 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
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/PreferencesLauncher.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/PreferencesLauncher.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/PreferencesLauncher.java
index fba3ee8b2f5d87ff47d8b7af16ce2e00fa531bf4..dcac626ec7a393b496751d970f87ab7447b31954 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/PreferencesLauncher.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/PreferencesLauncher.java
@@ -8,6 +8,9 @@ import android.app.Activity;
import android.content.Context;
import android.content.Intent;
+import org.chromium.base.ContextUtils;
+import org.chromium.base.annotations.CalledByNative;
+import org.chromium.chrome.browser.preferences.autofill.AutofillAndPaymentsPreferences;
import org.chromium.chrome.browser.preferences.privacy.ClearBrowsingDataPreferences;
import org.chromium.chrome.browser.preferences.privacy.ClearBrowsingDataTabsFragment;
@@ -59,4 +62,10 @@ public class PreferencesLauncher {
: ClearBrowsingDataPreferences.class.getName();
return createIntentForSettingsPage(context, fragmentName);
}
+
+ @CalledByNative
+ private static void showAutofillSettings() {
+ launchSettingsPage(ContextUtils.getApplicationContext(),
+ AutofillAndPaymentsPreferences.class.getName());
+ }
}
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698