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

Unified Diff: chrome/browser/android/preferences/preferences_launcher.h

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
Index: chrome/browser/android/preferences/preferences_launcher.h
diff --git a/chrome/browser/android/preferences/preferences_launcher.h b/chrome/browser/android/preferences/preferences_launcher.h
new file mode 100644
index 0000000000000000000000000000000000000000..1385e9fdfc27ed6b508b1642afd709b1f264cfdd
--- /dev/null
+++ b/chrome/browser/android/preferences/preferences_launcher.h
@@ -0,0 +1,29 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_ANDROID_PREFERENCES_PREFERENCES_LAUNCHER_H_
+#define CHROME_BROWSER_ANDROID_PREFERENCES_PREFERENCES_LAUNCHER_H_
+
+#include <jni.h>
+#include "base/macros.h"
+
+namespace chrome {
+namespace android {
+
+class PreferencesLauncher {
+ public:
+ // Opens the autofill settings page.
+ static void ShowAutofillSettings();
+
+ private:
+ PreferencesLauncher() {}
+ ~PreferencesLauncher() {}
+
+ DISALLOW_COPY_AND_ASSIGN(PreferencesLauncher);
+};
+
+} // namespace android
+} // namespace chrome
+
+#endif // CHROME_BROWSER_ANDROID_PREFERENCES_PREFERENCES_LAUNCHER_H_
« no previous file with comments | « chrome/browser/android/chrome_application.cc ('k') | chrome/browser/android/preferences/preferences_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698