| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CHROMIUM_APPLICATION_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_ |
| 6 #define CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_ | 6 #define CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 // Opens a protected content settings page, if available. | 26 // Opens a protected content settings page, if available. |
| 27 static void OpenProtectedContentSettings(); | 27 static void OpenProtectedContentSettings(); |
| 28 | 28 |
| 29 // Opens the sync settings page. | 29 // Opens the sync settings page. |
| 30 static void ShowSyncSettings(); | 30 static void ShowSyncSettings(); |
| 31 | 31 |
| 32 // Opens the autofill settings page. | 32 // Opens the autofill settings page. |
| 33 static void ShowAutofillSettings(); | 33 static void ShowAutofillSettings(); |
| 34 | 34 |
| 35 // Opens the password settings page. |
| 36 static void ShowPasswordSettings(); |
| 37 |
| 35 // Shows a dialog with the terms of service. | 38 // Shows a dialog with the terms of service. |
| 36 static void ShowTermsOfServiceDialog(); | 39 static void ShowTermsOfServiceDialog(); |
| 37 | 40 |
| 38 // Open the clear browsing data UI. | 41 // Open the clear browsing data UI. |
| 39 static void OpenClearBrowsingData(content::WebContents* web_contents); | 42 static void OpenClearBrowsingData(content::WebContents* web_contents); |
| 40 | 43 |
| 41 // Determines whether parental controls are enabled. | 44 // Determines whether parental controls are enabled. |
| 42 static bool AreParentalControlsEnabled(); | 45 static bool AreParentalControlsEnabled(); |
| 43 | 46 |
| 44 private: | 47 private: |
| 45 ChromiumApplication() {} | 48 ChromiumApplication() {} |
| 46 ~ChromiumApplication() {} | 49 ~ChromiumApplication() {} |
| 47 | 50 |
| 48 DISALLOW_COPY_AND_ASSIGN(ChromiumApplication); | 51 DISALLOW_COPY_AND_ASSIGN(ChromiumApplication); |
| 49 }; | 52 }; |
| 50 | 53 |
| 51 } // namespace android | 54 } // namespace android |
| 52 } // namespace chrome | 55 } // namespace chrome |
| 53 | 56 |
| 54 #endif // CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_ | 57 #endif // CHROME_BROWSER_ANDROID_CHROMIUM_APPLICATION_H_ |
| OLD | NEW |