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

Side by Side Diff: chrome/browser/android/preferences/preferences_launcher.h

Issue 2768023002: Move remaining @CalledByNative methods out of ChromeApplication. (Closed)
Patch Set: Use DISALLOW_IMPLICIT_CONSTRUCTORS instead of DISALLOW_COPY_AND_ASSIGN Created 3 years, 8 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 unified diff | Download patch
OLDNEW
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>
9 #include "base/macros.h" 8 #include "base/macros.h"
10 9
10 namespace content {
11 class WebContents;
12 }
13
11 namespace chrome { 14 namespace chrome {
12 namespace android { 15 namespace android {
13 16
14 class PreferencesLauncher { 17 class PreferencesLauncher {
15 public: 18 public:
16 // Opens the autofill settings page. 19 // Opens the autofill settings page.
17 static void ShowAutofillSettings(); 20 static void ShowAutofillSettings();
18 21
22 // Opens the password settings page.
23 static void ShowPasswordSettings();
24
25 // Open the clear browsing data UI.
26 static void OpenClearBrowsingData(content::WebContents* web_contents);
27
19 private: 28 private:
20 PreferencesLauncher() {} 29 PreferencesLauncher() {}
21 ~PreferencesLauncher() {} 30 ~PreferencesLauncher() {}
22 31
23 DISALLOW_COPY_AND_ASSIGN(PreferencesLauncher); 32 DISALLOW_COPY_AND_ASSIGN(PreferencesLauncher);
24 }; 33 };
25 34
26 } // namespace android 35 } // namespace android
27 } // namespace chrome 36 } // namespace chrome
28 37
29 #endif // CHROME_BROWSER_ANDROID_PREFERENCES_PREFERENCES_LAUNCHER_H_ 38 #endif // CHROME_BROWSER_ANDROID_PREFERENCES_PREFERENCES_LAUNCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/partner_browser_customizations.cc ('k') | chrome/browser/android/preferences/preferences_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698