Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_ANDROID_PREFERENCES_PREFERENCES_LAUNCHER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_PREFERENCES_PREFERENCES_LAUNCHER_H_ |
| 6 #define CHROME_BROWSER_ANDROID_PREFERENCES_PREFERENCES_LAUNCHER_H_ | 6 #define CHROME_BROWSER_ANDROID_PREFERENCES_PREFERENCES_LAUNCHER_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 | 10 |
| 11 namespace content { | |
| 12 class WebContents; | |
| 13 } | |
| 14 | |
| 11 namespace chrome { | 15 namespace chrome { |
| 12 namespace android { | 16 namespace android { |
| 13 | 17 |
| 14 class PreferencesLauncher { | 18 class PreferencesLauncher { |
|
estevenson
2017/03/22 20:06:56
Before I submit https://codereview.chromium.org/27
Ted C
2017/03/23 03:41:15
I have no strong preference. I'm inclined to simp
| |
| 15 public: | 19 public: |
| 16 // Opens the autofill settings page. | 20 // Opens the autofill settings page. |
| 17 static void ShowAutofillSettings(); | 21 static void ShowAutofillSettings(); |
| 18 | 22 |
| 23 // Opens the password settings page. | |
| 24 static void ShowPasswordSettings(); | |
| 25 | |
| 26 // Open the clear browsing data UI. | |
| 27 static void OpenClearBrowsingData(content::WebContents* web_contents); | |
| 28 | |
| 19 private: | 29 private: |
| 20 PreferencesLauncher() {} | 30 PreferencesLauncher() {} |
| 21 ~PreferencesLauncher() {} | 31 ~PreferencesLauncher() {} |
| 22 | 32 |
| 23 DISALLOW_COPY_AND_ASSIGN(PreferencesLauncher); | 33 DISALLOW_COPY_AND_ASSIGN(PreferencesLauncher); |
| 24 }; | 34 }; |
| 25 | 35 |
| 26 } // namespace android | 36 } // namespace android |
| 27 } // namespace chrome | 37 } // namespace chrome |
| 28 | 38 |
| 29 #endif // CHROME_BROWSER_ANDROID_PREFERENCES_PREFERENCES_LAUNCHER_H_ | 39 #endif // CHROME_BROWSER_ANDROID_PREFERENCES_PREFERENCES_LAUNCHER_H_ |
| OLD | NEW |